| Other Core Java Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| what are the application of compiler and interpreter for
source program |
| 2 |
| Can we declare static variables in JSP page. |
TCS | 3 |
| What is Connection pooling? Explain Pros and Cons? |
| 1 |
| Why we can not force Garbage Collection? |
| 7 |
| What is synchronization? How it can be achieved? |
| 2 |
| as we know a static method could access static data and
static method only. then how could main method call the
object of aclass which is not static and other non static data |
| 1 |
| What are Transient and Volatile Modifiers? |
SAP-Labs | 2 |
| What is method Overriding in the perspective of OOPS? |
TCS | 4 |
| why interaction with server using javascript is difficult |
| 1 |
| Package1 and Package2 both have a method name lets say
"methodA" with different implementation. When I import both
the packages in a java class how can I use both the methods? |
Ericsson | 7 |
|
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 |
| explain System.out.println |
IBM | 106 |
| |
| For more Core Java Interview Questions Click Here |