| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Difference between an argument and a parameter? | HCL | 4 |
| How u dubugg ur project? | iFlex | 1 |
| Is 'null' a keyword? | | 3 |
| what is Remote Reference Layer ? | | 1 |
| is this possible to create an array of 0 length?
if so how? if not so why?
coz we have an array in main() likw this
"static void main(String [] s) then what it signifies? | Hexaware | 2 |
| what is difference between type 4 driver and type 1 driver? | CMC | 2 |
| 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 are interfaces? | | 1 |
| What is meant by Encapsulation? Can you write a class to
explain encapsulation? | Ness-Technologies | 8 |
| List interface? | | 2 |
| what is the use of reference variable | | 2 |
| suppose in a class there is a code like this:
{
Set hs=new Hashset();
hs.add(new Emp("kathy",1000));
hs.add(new Emp("kathy",2000));
}
how can u avoid the above code in your class as set won't
allow duplicate objects? | | 2 |
| When we can access the static data member without creating
the object what is the need of the object in java.
| ssinformatics | 4 |
| What is Transient and volatile | iFlex | 9 |
| whst is encapsulation?when u encpsulate actually while
devoloping code? | AMDOC | 5 |
| If your team member writes code with lots of static
variables and static methods, will it cause any side effects? | KPIT | 1 |
| Difference between Web-based applications,Client-
Server applications and Distributed applications? | Infosys | 2 |
| how can you retrive information from database by using
hashmap/arraylist ,plz explain with example briefly? | Satyam | 1 |
| What is the root class for all Java classes? | | 4 |
| What is the is a and has a relation ship in oops concept in
java? | BearingPoint | 5 |
| |
| For more Core Java Interview Questions Click Here |