| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| For which statements we use a label? | Wipro | 3 |
| why the abstract class has default constructor? | | 1 |
|
I have a sorting issue with a Hashmap. My constraint is that
I MUST use the Hashmap and work with existing code. I do a
database query and place the results in a Hashmap. When I
iterate thru the Hashmap, it loses the original alphabetical
sorting done by the database. So, my problem is that I must
sort the results coming out of the Hashmap which is then
placed into another class.
| | 1 |
| Linked List reverese program | Bally-Technologies | 1 |
| How can a class be accessed, If no access modifiers are
declared? | | 2 |
| question on Thread synchronization | Huawei | 1 |
| what is session facade ? | | 2 |
| Difference between JDK, JRE, JVM | Oracle | 5 |
| Can we place the any object to key attribute of
HashMap<key,value>? | HCL | 3 |
| AWT event listeners extends what interface? | | 1 |
| how to connect one jsp page to another jsp page???? | Symphony | 4 |
| What is an Applet ? | | 2 |
| What is encapsulation? Elaborate with example? | BMC | 1 |
| In what type of containers, Border layout is a default
layout? | | 3 |
| Which of these methods belong to Thread & Object class?
join, yield, sleep, wait, notify | Ericsson | 2 |
| what's diff between struts 1.1 & 1.2 | Wipro | 2 |
| why we import both packages java.awt.*; and java.awt.event.*;
as java.awt.*; can import all classes na. then what is the
need of importing java.awt.event.*; ? | | 2 |
| How two different class threads communicate with each
other?. send example code. | | 4 |
| What are interfaces? | | 1 |
| If I have 1000 objects and my requirement is to sort them
quickly, then which collection would you recommend and why? | KPIT | 3 |
| |
| For more Core Java Interview Questions Click Here |