whats is the use of final,in which situation final can be
used in the application?

Answers were Sorted based on User's Feedback



whats is the use of final,in which situation final can be used in the application?..

Answer / muralisankar

you can prevent a class from inheritance.
You can prevent a method from overriding.

Is This Answer Correct ?    3 Yes 0 No

whats is the use of final,in which situation final can be used in the application?..

Answer / cool_duzz

Constants.. that are not supposed to be changed ever.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain the difference between an Interface and an Abstract class?

0 Answers   BirlaSoft,


How do you read and print a string in java?

0 Answers  


Is string a class in java?

0 Answers  


Explain the private protected method modifier?

0 Answers  


different types of threads?

18 Answers   TCS,






What is runtime locatable code?

0 Answers   Cognizant,


What is a lambda expression ? What's its use ?

0 Answers  


Is string a class?

0 Answers  


can any one send me the example program of immutable class?

2 Answers   Arfin, TCS,


how can you retrive information from database by using hashmap/arraylist ,plz explain with example briefly?

1 Answers   Satyam,


Is string a keyword in java?

1 Answers  


Can an object be garbage collected while it is still reachable?

3 Answers  


Categories