When will you define a method as static in Java?
No Answer is Posted For this Question
Be the First to Post Answer
all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.
Why are getters and setters used?
How we create object in copy constructor?
Can I declare class as static or private?
3) Suppose you are a very rich person, having 50 rooms and you have lost the key for one of the room's. How effectively you can find this key? (Qs2 and Qs3 are related)
How to add menushortcut to menu item?
What is serialization in java?
Which is better ascii or unicode?
What is a line separator in java?
Is string is a data type in java?
List some features of the abstract class.
What is singleton class in java and how can we make a class singleton?