CAN YOU USE ABSTRACT AND FINAL BOTH WITH A METHOD IN JAVA?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
Java 
 782  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    Can you use abstract and final both with a method in java?

    No, because abstract method needs to be overridden whereas you can't override final method.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!