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 the access scope of protected access specifier?

730


What does function identity () do?

703


what is anonymous class in java?

753


Explain importance of finally block in java?

781


what is singleton class in java?

798


Is string a data type in java?

779


What are thread safe functions?

710


What is difference between string and stringbuffer?

690


What do you mean by JVM?

784


What do you mean by platform independence of Java?

737


Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?

843


What exactly is java?

696


What is a modifier?

1142


What is boolean flag in java?

775


What is cr keyboard?

843