Tuesday, 12 August 2014

Java Interview Tips For Freshers

Refer to the below listed Java Interview Tips For Freshers and prepare well -

Jobs


Get to know what the difference between a constructor and a method is. It is important to know that a constructor is a member function of a class that is used to create objects of that class. It has the same name as the class itself, has no return type, and is invoked using the new operator.
It is likely that the interviewer may as some probable questions like –

What is the purpose of garbage collection in Java, and when is it used?

What is an abstract class?

What is the difference between an Interface and an Abstract class? This question is a strategic one so know it answer in detail. An interface has all public members and no implementation. An abstract class is a class which may have the usual flavors of class members (private, protected, etc.), but has some abstract methods.

No comments:

Post a Comment