| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is meant by Encapsulation? Can you write a class to
explain encapsulation? | Ness-Technologies | 8 |
| What is the difference between Stream Reader and Stream Writer? | | 4 |
| what is the use of declaring constructor as private? | Sai-Softech | 3 |
| If set accepts only one argument then how can it compare
two objects to avoid duplicates | | 3 |
| What is the basically use of finally while we know it
is always executed but why? | TCS | 4 |
| in a constructor what happen if u call super and this in
the same class? i know that it is not possible to call
both in the same one? if we call what will happen? | ITC-Infotech | 6 |
| how can u handle run time exception in java? explain with
brief explanation with examples? | CTS | 2 |
| what is the difference between the "protected and default"
modifiers? | | 4 |
| Have you worked on bits programming? examples?What is bit?
How many bits are there in the byte? | | 1 |
| What are the similarities between an array and an ArrayList? | | 2 |
| Marker interface means , interface which has no methods.Then
what is the necessity of its usage.I read "it tells the
compiler that it should be treated differently ". "It is
used to store state of an object". But still am not
clear.Please explain clearly. | | 1 |
| what is the difference between multitasking and
multithreading? | | 8 |
| What are wrapped classes? | | 6 |
| How to validate the request (Eg:user name and password) in
session(http session)? not in LDAP server ? | Saksoft | 1 |
| write a progam hashmap & hashtable? | IBM | 2 |
| What is exception and error? and what is the difference
between them? | | 2 |
| How many methods does cloneable interface contains? | | 2 |
| Is it possible to write static method in abstract class?
justyfy your answer? | Hexaware | 3 |
| Features of Java? | | 4 |
| What is inheritance? | | 4 |
| |
| For more Core Java Interview Questions Click Here |