| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How to sort the elements in HashMap
| Ness-Technologies | 3 |
| What is unicode? | | 1 |
| What is the Vector class? | | 3 |
| Name the class that used to read objects directly from a
stream? | Wipro | 2 |
| can we add two numbers without using arthematic operators?
if possible how? | | 2 |
| Java violates few objected oriented concepts. Can you
explain in what way? | Ness-Technologies | 3 |
| Sample code to retrieve objects from HashMap in sorted
ascending order? | | 1 |
| How to convert String into primitive datatype. | | 4 |
| Can a double value be cast to a byte? | | 3 |
| Hi Friends, I am new to java. Can u explain about thread
concept.How i know one thread is locked, and how can i force
or acquire another thread for lock . Finally how to know
thread is released from lock. Explain types of lock(like
method level and block level) in thread. | | 1 |
| Can an exception be rethrown? | Wipro | 4 |
| Inorder to specify a container?s layout, which method is
used? | | 1 |
| What method is used to compare two strings ? | | 4 |
| What is anonymous class? | | 2 |
| whats the life cycle of jsp
| Satyam | 2 |
| We can write any Java Logics in our JSP. Then why we are
using servlets(Controller Layer) to interact with the DAO ? | TCS | 2 |
| What are the steps to do connection pooling in weblogic? | TCS | 1 |
| What is the purpose of having the concept of overloading? | Ness-Technologies | 5 |
| what is request processor? | Virtusa | 1 |
| when i write
string s1="java";
in one program(application) and
string s2="java";
in another application
on the same jvm will both objects s2,s2 will refer to same
memory location where "java" is stored
in string pool. | | 2 |
| |
| For more Core Java Interview Questions Click Here |