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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you clear an arraylist in java?

502


What are the types of collections in java?

541


What are predefined functions?

580


what is synchronization and why is it important? : Java thread

589


What is the difference between static binding and dynamic binding?

572






Who is the owner of java?

543


Why is string builder not thread safe?

594


What is a website container?

509


Is integer a class?

570


Can finally block be used without a catch?

548


What is the instance of an object?

558


What is the transient keyword?

635


What is dynamic binding(late binding)?

591


What is the difference between an array and an array list?

506


What is double checked locking in singleton?

614