CodesJava

Easy learning with example program codes

can we use abstract and final both with a method?


No, as for an abstract method we have to provide implementation in subclass. To do this abstract method have to overridden but final methods cannot be overridden.

Java interview questions on access modifiers

Sign Up/ Sign In
Ask a Question


Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki