What is meant by final class, methods and variables?

Answer Posted / suresh chand

final class: we can't inherit that class

final method: we can't override that method

final variable: we can't change the value of that var.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is singleton pattern used?

520


What is the maximum length of a url?

507


What is anagram of a string?

515


Which container method is used to cause a container to be laid out and redisplayed in java programming?

596


What is difference between wait and notify in java?

540






What is final keyword?

639


In Java list the methods that can be overridden?

566


What is preflight request?

526


What is anonymous inner class?

609


Can inner class final?

631


How do you test a method for an exception using junit?

527


Explain different states of a thread in java?

581


What are the application of stack?

498


Which is better 64 bit or 32 bit?

505


What is the full meaning of java?

528