what is finalmethod & final variable with example?

Answer Posted / vignesh,c

in a class if a method is executed at final stage is called
a final method, and and a variable when used finally is
called a final variable.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What advantage do java's layout managers provide over traditional windowing systems?

759


What is the difference between class & object?

780


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

760


What methodology can be utilized to link to a database?

722


What will be the default values of all the elements of an array defined as an instance variable?

789


Can constructor return value?

757


What is data type in java?

709


What is thread safe java?

719


What is java oops?

790


Does java support multiple inheritances?

806


Explain what pure virtual function is?

809


Does java list allow null?

764


When arithmeticexception is thrown?

812


What is collection sort in java?

773


Is sizeof a preprocessor?

762