Answer Posted / atul
If declare class as final that means can not Inherited
in subclass.if declare final data members then must be
initializing at randomly or inside constructor otherwise
generate error
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How is Object Oriented Programming different from Procedure Oriented Programming?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
How do you clear a method in java?
What is indexof?
What is a class instance variable?
Which browsers work with java?
Why can't we make a class private in java?
What do you mean by object?
What will be the default values of all the elements of an array defined as an instance variable?
What is the meaning of nullable?
Do I need to import java.lang package any time? Why?
What are meta-annotations?
What is string pool?
How does enum work in java?
Is null a value?