| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is run-time class and system class? what is their
purpose? | | 1 |
| Why is prepared Statement, Callable Statement used for? What
is the need of Batch updates? | Logica-CMG | 1 |
| While opening the file, what type of exceptions can be
caught? | | 3 |
| What are Access Specifiers and Access Modifiers. | TCS | 4 |
| what are the new features available in java 1.5 version? | Motorola | 2 |
| What is meant by JVM ? | | 3 |
| what is main purpose of interface? | Accenture | 2 |
| Can we declare variables inside a method as Final Variables? | | 3 |
| perpare on factorypattern,linklist wothout using
collection, (multitharding ie create producer/customer
therad producer create Queue continuesly,consumer consume
queue, consumer wait if queue is full,producer wait if
queue is empty),diff betn sleep(1000)&wait(1000) these r
the main Q ask in huawei(2008) | Huawei | 1 |
| What is a layout manager? | | 1 |
| What is encapsulation? Elaborate with example? | BMC | 1 |
| What is the is a and has a relation ship in oops concept in
java? | BearingPoint | 5 |
| Java support what type of parameter passing ? | Wipro | 6 |
| What happens if an exception is not caught? | | 4 |
| we have two threads..both the threads are reading the
data.. is there any need of synchronization
there?...justify it? | IBM | 4 |
| How to create an instance of a class without using "new"
operator? Plz help me out properly.Thank u. | CSC | 8 |
| Howmany number of objects we can store in an ArrayList. Is
there any limit? | TCS | 5 |
| 10. class Nav{
11. public enum Direction { NORTH, SOUTH, EAST, WEST }
12. }
13. public class Sprite{
14. // insert code here
15. }
Which code, inserted at line 14, allows the Sprite class to
compile?
a)Direction d = NORTH;
b)Nav.Direction d = NORTH;
c)Direction d = Direction.NORTH;
d)Nav.Direction d = Nav.Direction.NORTH; | | 1 |
| what is meant by serialization? | | 6 |
| what is the use of servlet engine? | Photon | 2 |
| |
| For more Core Java Interview Questions Click Here |