| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Can we have a abstract class withought any method? What is a
purspose of this? | | 1 |
| Why non nested classes in java are not having marked as
protected access specifier | Google | 1 |
| How to sort a vector elements that contains the user define
class object? (Note: If Suppose consider, A Student class
contain two data members. They are String studentName and
int rollNo. I am creating Four objects for this class, each
object contains students details like name and roll no. Now
i am storing that objects in vector and if i retiving the
elements from the vector means then it should be display in
sorting order) | ProdEx-Technologies | 2 |
| What is cloneable interface? | | 5 |
| what is generics in jdk1.5? | Bally-Technologies | 1 |
| What is serializable interface? | Infosys | 8 |
| What is a layout manager? | | 1 |
| Hey buddy.. can you please tell me about the use of marker
interface? And is there any link between marker interface
and factory methods?
Thanks in advance. | | 2 |
| What is Vector?Can you elaborate how Vector is Thread safe? | | 3 |
| what is the purpose of method overriding in java where v r
completely re-defining a inherited method instead y can't v
create a new method and define.If the question is very silly
plz excuse me and do reply.Thank U! | | 5 |
| What is hash method? | | 1 |
| How to set the Heap size in Java ? | HCL | 2 |
| What is the Set interface? | | 2 |
| long d =10;int i =0;i=d; /// is this possible? If d is very
long number (10 digits or some thing) then? | | 3 |
| What is the purpose of the finally clause? | | 3 |
| What is difference between Iterator and for loop | | 4 |
| what is the use of datasource in core java? | Satyam | 2 |
| how can we synchronize Hash map? | CTS | 3 |
| Can Applet have constructors? | | 3 |
| Howmany number of objects we can store in an ArrayList. Is
there any limit? | TCS | 5 |
| |
| For more Core Java Interview Questions Click Here |