top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Java:Can an abstract class be final? Explain briefly

+3 votes
415 views
Java:Can an abstract class be final? Explain briefly
posted Mar 4, 2016 by Sumana

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

No, Abstract method cannot be declared as final. This is because, abstract method has to be overridden to provide implementation. If it is declared as final, it cannot be overridden.

answer Mar 7, 2016 by Atindra Kumar Nath
Similar Questions
0 votes

Can I declare an abstract class with no abstract methods in it in Java, if yes then how?

0 votes

By making private constructor, we can avoid instantiating class from anywhere outside and by making class final, no other class can extend it. Why is it necessary for Util class to have private constructor and final class ?

...