Exforsys.com
 

Sponsored Links

 

Interview Notes Tutorials

 
Home Career Center Interview Notes
 

Core Java Interview Questions

 

Core Java Interview Questions

This article provides Java Interview Questions covering Core Java questions. For more Interview Questions / Answers related to Java, click on links provided at the end of each question set.


.


Core Java Interview Questions


1. Strings are immutable.But String s="Hello"; String s1=s+"World"; S.O.P(s1); means printing "HelloWorld". How ?
2. What is the difference between classpath and path variable?
3. If we have two public classes in a single java file, How I have to give the name of the particular java file and How I can compile it?
4. Is there any difference between Execution Engine and the JIT in java?
5. How single threaded model works after implementation in class, basically architecture point of view?
6. If two overloaded methods are - test(Object xyz) and test(Customer cust) [Assume Customer is a class with member name of type String]. Now if we call test(null), which method will be called? why?
7. When are you using arraylist and linkedlist?
8. When are you using hashmap and hashtable?
9. Can we have run() method directly without start() method in threads?
10. How to use JNI in Java? What are Struts and Jini? How to apply native code in Java?
11. Can we have run() method directly without start() method in threads?
12. How to use JNI in java? and what are Struts and jini?and how to apply native code in java?
13. Why the container does not support multiple layout managers
14. Which class is the super class for all classes in java.lang package?
15. What are differences between Enumeration, ArrayList, Hashtable and Collections and
16. How many JVM could be run on an operating system. if only one then what is the logical reason.
17. What is JVM Heap Size? How does it affect the performance of the Application?
18. We know that Object class is super class of every class & a class extends only one class. so How is it possible to a class to extend other than Object class?
19. What is difference between string and stringtokenizer?
20. How can you load DLL files when your java class is loading first time ?


Click here for more Question and Answers on Core Java Interview Questions



Read Next: Java Interview Questions



 

 

Comments



Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2009 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape