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

IS method overriding is Duplication of Methods?

5 Answers   CybAge,


What is stringwriter?

0 Answers  


What are the advantages of defining packages in java?

0 Answers  


Is nullpointerexception checked or unchecked?

0 Answers  


What are memory tables?

0 Answers   Aspiring Minds,






What is a native method in java programming?

0 Answers  


What is exception propagation?

0 Answers  


what is the difference between cd & dvd ?

30 Answers   Satyam, Lovely Professional University, Sibylsys,


What does escaping a character mean?

0 Answers  


How is rounding performed under integer division?

2 Answers   Satyam,


What is function and method in java?

0 Answers  


What are methods and how are they defined?

0 Answers  






Categories