| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| IN java collections we have both interfaces and classes.
instead of using interfaces why we can't use classes only
like that why we can't use interfaces only. why we need two
things interface and class. | CTS | 4 |
| How many bits are allocated to represent character of
character sets - Unicode, ASCII, UTF-16, UTF-8? | | 1 |
| What is Collection interface? | Zensar | 1 |
| What is Runtime class and its purpose? | | 2 |
| what is Dictionary? and what purpose it is used for? | | 2 |
| Explain Public static void main? | IBM | 2 |
| What advantage does an entity bean have over a sessin bean? | Adobe | 3 |
| Hi buddy, well i got that there is always a default
constructor with abstract class. OK. But why not with interface?
Thanks in advance. | | 2 |
| How to validate the request (Eg:user name and password) in
session(http session)? not in LDAP server ? | Saksoft | 1 |
| What JNDI(Java Naming and Directory Interface) provides? | | 4 |
| What error occurs if a try-catch-finally statement sequence
does not have a catch clause? | | 2 |
| What is the USE of Null interfaces ??...if thers nothing
inside these interfaces how are they used and WHy are they
used ???? No 1 has given a proper description yet | | 1 |
| What is persistence ? | | 2 |
| What is the need to implement Serializable interface (with
no methods) for objects which are to be serialized ?
We can write our own functionality which writes objects to
streams then why we need to implement and tell JVM that
which objects can be serialized. | iFlex | 4 |
| Explain final, finalize() and finally? | Accenture | 9 |
| What is the range of the char type? | | 3 |
| if i have one string class then how can you achive this
class functionality of this class? | Fidelity | 3 |
| How can we handle runtime exceptions? write one sample
program? Can we write runtime exceptions beside the throws
key word? if yes write sample program? | Huawei | 1 |
| what is meant by serialization? | | 6 |
| What is thin driver and thick driver. why it is called so? | Logisoft | 1 |
| |
| For more Core Java Interview Questions Click Here |