| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| String is an immutable object.
Then how can the following code be justified.
String s1 = ?ABC?;
String s1 = s1+?XYZ?;
s.o.p(s1);
The output is ABCXYZ, which is the value of s1 ?
| Flextronics | 5 |
| what is overloading in java? | DNS | 4 |
| What is Transient and volatile | iFlex | 9 |
| wht is mean by dirty read? | | 1 |
| What is the preferred size of a component? | | 1 |
| What do you mean by the term transient? | Ericsson | 4 |
| Program to find greatest prime number in n numbers? | Huawei | 3 |
| what is abstract method with example? | Virtusa | 5 |
| What are interfaces? | | 1 |
| How do you set security in applets? | Wipro | 1 |
| can we declare private class in java file? | | 6 |
| Hi Friends, Can u give few interview questions which relates
ArrayList and Hashmap. I mean how to link ArrayList and
HashMap.I know this is not good way of asking questions like
this , but i need | Microsoft | 1 |
| 1).what is the difference between below examples
String s="vijay";
String s=new String("vijay"); | TCS | 11 |
| how to minimize the functionality to will not force garbage
collector? | | 2 |
| what is the difference between Java Command Line and C
command Line? | | 1 |
| what are ER diagrams? | | 2 |
| Is there any use of an abstract class which has no methods
and no attributes? | Wipro | 1 |
| what is multithreading? | Virtusa | 4 |
| I have an HashMap object, which has with key and value pair.
It has 10 keys and values in that object. Now the question
is I want insert new key and value in middle or any where in
that list but not at the end or at the top. Is it possible
or not. If yes how can we achieve this one? | Huawei | 1 |
| why java does not support mulitple inheritance directly? | TCS | 2 |
| |
| For more Core Java Interview Questions Click Here |