What is an interface in java?
What are the drawbacks for singleton class?
How is final different from finally and finalize?
Explain the difference between a Thread and a Process.
Differentiate jar and war files?
This is related to threads. I have a class with synchronized method m1(). Can I create different instances of this class and execute the m1() for different threads?
While opening the file, what type of exceptions can be caught?
What is System class and its purpose?
How do you achieve polymorphism in java?
How infinite loop is declared?
Why do we need to override equals() and hascode() method of object class?
When a byte datatype is used?
Name and explain the types of ways which are used to pass arguments in any function in java.