What is meant by final class, methods and variables?
Answer Posted / narasimha
when you declare a class as final, that class cannot be
extended.In java "String" class is final.
when you declare the variable as final then we can
intialize it only once.it is constant.
when declare the method as final we cannot override the
method
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What is bom encoding?
What is a function in java?
What is intern method in java?
Can we override compareto method?
What are runtime exceptions?
Give a practical example of singleton class usage?
How will you compute size of a structure?
How can a gui component handle its own events?
What do you understand by casting in java language?
What are the basic concepts of OOPS in java?
Explain about core java?
What are keywords and reserved words in java?
Can you call a method on a null object?
What is byte code and why is it important to java’s use for internet programming?
What is a percentage sign called?