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 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is public static void main?

815


What is Mutex (Mutual Exclusion Object) ?

867


Does every java program need a main?

777


What are the different tags provided in jstl?

774


What is the requirement of thread in java?

842


Can a class be private in java?

763


Can you inherit a constructor java?

839


What is java autoboxing?

740


What is outofmemoryerror in java?

781


What is the importance of finally block in exception handling?

796


What is the difference between post and put?

787


What is are packages?

799


Can we have any code between try and catch blocks?

767


What do you mean by JVM?

830


Why strings in java are called as immutable?

793