Thursday, 10 July 2014

Frequently asked core Java Interview Questions | SLA Placement





1. What is Collections in Java?

In Java, Collections is an API (Application Programming Interface) which consists of several classes and interfaces to support collections of objects operations.





 
2. Name any two features of Java that are not available on C++ object oriented programming language.

  • Garbage Collection
  • Multi-thread support




 
3.  How the memory allocated by the constructors are reclaimed from objects in Java.

In Java, the memory space allocated to the objects by the constructors is retrieved with help of 'garbage collector'. Garbage collector frees the memory of objects that are no longer used in the program.




  
4.What are abstract methods?

Abstract methods are preceded with the keyword 'abstract' and without body of statements. This is used to define the methods that are mandatory for the sub classes to override.




 
5. Name the method used to determine whether a checkbox is checked or unchecked?

getState()





To receive job updates and placement tweets from SLA, Kindly like our official facebook page"www.facebook.com/SLAjobs"


Become Java Developer with SCJP course - SLA Placement Chennai


    SCJP (SLA Certified Java Professional) is the complete career training course on java development which is exclusively designed by the experts in the field after the approval of leading IT companies. In addition to the technical training on basic and advanced level java, students can also avail coaching on improving English communication skills, interview performance skills, aptitude skills and attitude development skills.





  
 Address – SLA Jobs KK Nagar

No 10, P.T. Rajan Salai, K.K. Nagar, Chennai – 600078
Phone: +91 44 42005050
Mobile: +91 9677012733


Address – SLA Jobs Anna Nagar

No. 13L, Second Floor, Indus Valley's Bhagwathi Palace, Chennai - 600102




 

No comments:

Post a Comment