| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is a package? | | 8 |
| What is meant by throwing an Exception? | Accenture | 4 |
| waht happens when a return type ,even void is specified for
a constructor? | | 10 |
| What is the relationship between a method?s throws clause
and the exceptions that can be thrown during the method?s
execution? | | 2 |
| Q) I have a ArrayList object, in that object i have added 5
integer values, 5 float values, 5 string values. Now
question is how can delete particular type of data ( i.e all
int values or all float values or string values) in that
list object at a time? | Aricent | 2 |
| What classes of exceptions, thrown by a throw statement? | | 2 |
| what is auto boxing | UHG | 1 |
| finalize() method? | | 4 |
| In C we use only compiler. Why java uses both compiler and
interpreter? What is its significance? | | 5 |
| How a class can implement an interface? | SysArc | 4 |
| adapter class ? | | 2 |
| How can we find size of the object ? | RazorSight | 1 |
| How will you override default serialization mechanism in java | | 2 |
| What is the Layout for ToolBar? | | 1 |
| What are the two ways you can synchronize a block of code? | Ericsson | 3 |
| Hi Friends, can you give difference between extending thread
class and implementing runnable interface. | | 2 |
| I/O blocking means? | | 1 |
| What is the basic functionality of DataOutput interface in
java? | TCS | 2 |
| 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 |
| How can you reverse a string? | | 4 |
| |
| For more Core Java Interview Questions Click Here |