| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Explain Global variables in Packages? | | 2 |
| Differentiate Vector and ArrayList? | Wipro | 4 |
| watz the difference between abstract class and interface?
Which one u ill choose as a designer? | Sonata | 1 |
| Difference between overloading and Overriding. <Giving a
confusing example to test the concept.>
(also asked in PA Consultancy Group,iflex,Value
chain,IBM,CTS,Accenture, Tarang> | Symphony | 6 |
| transaction attributes ? | | 2 |
| real time example for deadlock,starvation,livelock | | 4 |
| How to initialize an Applet ? | TCS | 6 |
| Which of these methods belong to Thread & Object class?
join, yield, sleep, wait, notify | Ericsson | 2 |
| what is difference between perfom() & excute() ? | IBM | 2 |
| How to find the size of an array
a)array.length()
b)array.length
c)array.size()
d)array.size | Accenture | 6 |
| How can you sort dates? | TCS | 1 |
| when asub class inherits a super class and overrides a
public method of super class in sub class(public method in
super class).
why these methods needs to be public in sub class.
(otherwise compile time error). | | 2 |
| What are the names of interfaces that doesn't consists of
method/s ? | | 3 |
| Name the runtime exceptions that occurs frequently? | | 4 |
| In Java why we write public static void main(String args[])
why not main()? | TCS | 12 |
| What is persistence ? | | 2 |
| What is meant by final class, methods and variables? | | 2 |
| What are inner and anonymous class? | | 2 |
| what is marker interface ? what is the necessity of it? | Accenture | 4 |
| 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 |
| |
| For more Core Java Interview Questions Click Here |