When will you define a method as static?
No Answer is Posted For this Question
Be the First to Post Answer
How can final class be used?
Can we call thread start () twice?
What is the life-cycle of an object?
Why method overriding is used?
What happens if I remove static from main method?
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.
Does constructor be static?
What is immutable class in java?
How to avoid the runtime exception ?
In which language java is written?
Can we serialize static variables in java?
How many bytes is a string java?