April 28, 2013

CORE JAVA INTERVIEW QUESTIONS AND ANSWERS

QUE- What is difference between Path and Classpath?
ANS- Path and Classpath are operating system level environment variales. Path is used define where the system can find the executables(.exe) files and classpath is used to specify the location .class files.


QUE- What is the base class of all classes?
ANS- Java.lang.Object


QUE- Does Java support multiple inheritance?
ANS- Java doesn't support multiple inheritance.

QUE- Is Java a pure object oriented language?
ANS- Java uses primitive data types and hence is not a pure object oriented language.


QUE- Are arrays primitive data types?
ANS- In Java, Arrays are objects. 


QUE- What are local variables? 
ANS- Local variables are those which are declared within a block of code like methods. Local variables should be initialised before accessing them.

0 comments:

Post a Comment

  • Blogger news

    This Blog Contains All Topics Related To Internet, Website Help, Interview Questions, News, Results From Various Resources, Visit Daily For More Interesting And Famous Topics.
  • Random Post

  • About

    We Provide All Information Which you Needed. We Maintain This Blog Very Carefully, If You Find Any Mistake or Any Suggestions Then Please Let Us Know, You Can Contact Us By Comments, On FB Page Or On Google+ Page. ~ Thank You