answersLogoWhite

0

What are final class?

User Avatar

Anonymous

13y ago
Updated: 8/20/2019

class is identifier

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you prevent class extending in java?

Declare the class as final. final class A{ ... }


A final class can have instances?

Yes. You cannot inherit a final class but very well instantiate a final class


When do you declare a class as final?

By using the final keyword in the class declaration statement. Ex: public final class Test {...}


Why would you make a class final in java?

You would make a class Final in Java if you do not want anybody to inherit the features of your class. If you declare a class as Final, then no other class can extend this class. Example: public final class X { .... } public class Y extends X { .... } Here Y cannot extend X because X is final and this code would not work.


Discuss final method and final classes?

a method declared final can not be overridden, and a class declared as final can not be extended by its sub class.


How can you create a class which cannot be inheritable?

Declare it final.


Difference between abstract and final class?

Abstract class is built to promote inheritance whereas a final class is built to avoid inheritanceAn Abstract class can be extended by another class whereas a final class cannot be extended


Final classes in java?

A class declared as final means that no other class can inherit from it.


Can you define a class as final and abstract both?

Yes, a class can be defined as final and abstract also.


Did everyone in the class, including , pass the final exam?

Yes, everyone in the class, including , passed the final exam.


What is a comprehensive final?

A final over everything your class covered.


If the final is 15 percent of grade and have an average of 100 what score do you need to get at least 90 in the class?

You do not even need to get a 30% on the final. If you have a 100% in the class and get a 0% on the final, you willl still have an 85% in the class.