| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| wHAT IS DEFAULT SPECIFIER IN JAVA
wHAT IS DEFAULT CONSTRUCTOR IN JAVA
wHAT IS DEFAULT METHOD IN JAVA | IBM | 10 |
| 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 |
| why Runnable interface is preferable than extending the
Thread class? | Wipro | 5 |
| What are wrapper classes? | Noah-Solutions | 6 |
| What is the use of anonymous inner classes ? | HCL | 8 |
| where lives in jvm | | 3 |
| What is OOP?
| BMC | 2 |
| diff between abstract methods and interfaces with programing
(code) example? | | 2 |
| How to create two different thread class inside a main function? | | 1 |
| What is AppletStub? | | 1 |
| How the elements are organized in CardLayout? | | 5 |
| what is overloading in java? | DNS | 4 |
| Have you worked on bits programming? examples?What is bit?
How many bits are there in the byte? | | 1 |
| A class can be a subclass of itself? | Genesis | 2 |
| What will happen inside init() in servlet. my interviewer
asked servlet lifecycle. i said "once servlet is loaded in
to memory init() will be called which performs servlet
initialization " . Again interview asked what values will be
initialized . what is difference between init() and
init(ServletConfig config). | Infinite-Computer-Solutions | 1 |
| What is static binding and where it occurs? | | 2 |
| What is an array and a vector? How they different from each
other? | | 3 |
| How will you override default serialization mechanism in java | | 1 |
| What classes can be used to store arbitrary number of
objects ? | | 1 |
| we have two threads..both the threads are reading the
data.. is there any need of synchronization
there?...justify it? | IBM | 4 |
| |
| For more Core Java Interview Questions Click Here |