Guavus Interview Questions :set2

By | April 27, 2014

Here’s another questions set contributed by anpnyms readers :

Telephonic Interview:

What is a static class and static methods in java ?
What is an Interface how it differs from Abstract class ?
What is inheritance? Does java supports multiple inheritance ?
Suppose there is init() method in base class and the method with same signature is also there in derived class if we make a object of derived class like base b = new derived () ; is it legal to do it ? if yes then which init() method will be called ?
What is garbage collection in java ?
when a object becomes eligible for garbage collections ?
What is multi-threading in java ?
what does finalise method do ?

Unfortunately I couldn’t make it after this round.

Leave a Reply

Your email address will not be published. Required fields are marked *