abstract interface Bendable { // line 1 final int x = 2009; // line 3 void method1(){}; // line 5 }
final int x = 2009; // line 3
void method1(){}; // line 5
}
Note that you can declare an abstract method in an interface without the need to explicitly marking it abstract.
Oracle Certified Professional Java Programmer
Access: Public Instant Grading
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use.