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

When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

569


In java, how many ways you can take input from the console?

523


What’s the difference between applets and standalone program?

534


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

545


What are static methods?

576






What is the advantage of OOP in java?

661


What is the do while loop syntax?

553


What is the Difference between Final Class && Abstract Class?

617


How does system arraycopy work in java?

579


Explain numeric promotion?

598


What does g mean in regex?

566


What is the base class for error and exception?

555


Is it possible for yielded thread to get chance for its execution again ?

553


What is object in java?

536


Can you make a constructor final?

581