Answer Posted / murali.25
you also prevent overriding by making the method static
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
What lambda means?
What is byte [] in java?
Can we use a default constructor of a class even if an explicit constructor is defined?
what is ststic with example
Explain a situation where finally block will not be executed?
Is static variable stored in heap?
Which class represents the socket that both the client and server use to communicate with each other?
Explain about field hiding in java?
What is assembly language?
What do you know about java?
What are inner classes or non static nested classes in java?
What is the use of singleton?
What is the difference between an if statement and a switch statement?
What is output buffer?
How do you ensure that n threads can access n resources without deadlock?