What is meant by final class, methods and variables?

Answer Posted / ravikiran(aptech mumbai)

final class:Is the one which cann't be subclassed
final method:Is the one which cann't be overrided
final variable:is the one which acts like a constant

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is volatile keyword in java

642


Is java still necessary?

619


A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.

537


What is polymorphism in java? What are the kinds of polymorphism?

574


What is the concept of multithreading?

520






What is int short for?

512


Explain the difference between comparator and comparable in java?

484


What is r in java?

591


What are advantages of using Java?s layout managers than windowing systems?

1853


What is java basic concept?

525


what is thread? : Java thread

551


what are the disadvantages of indexes in oracle?

1863


What are java packages? What's the significance of packages?

623


What is sortedset in java?

569


What is default exception handling in java?

568