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

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
Java 
 908  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.

      Modified On Mar-28-2018 12:10:57 AM

Answer

NEWSLETTER

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