Why is the main method declared static?
No Answer is Posted For this Question
Be the First to Post Answer
Can we have static methods in an interface?
What is %d in printf?
There are 2 different ways to create an object. a)By using keyword "new" b)By using Class.forName ("className").newInstance(); What is the difference between these 2 methods.
What is the difference between exception and error in java?
where the static methods will live ,on stack ? can you explain brefly
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
How do you use nextline in java?
explain the concept of inheritance with an example?
What are multiple inheritances?
Explain access modifiers in java.
What is sleep method?
How many types of threads are there in java?