Java Interview Questions
Hello friends here i will give you some important Core Java Interview Questions related to core java and advance java.
- What is Polymorphism?
- What is JVM ?
- What is JRE ?
- What is Abstraction?
- What is Abstract class?
- When Abstract methods are used?
- What is Encapsulation?
- What is the primary benefit of Encapsulation?
- What is an Interface?
- Give some features of Interface?
- Define Packages in Java?
- Why use package in Java ?
- Why Packages are used?
- What do you mean by Multithreaded program?
- What are the two ways in which Thread can be created?
- What is an applet?
- An applet extend which class?
- Explain garbage collection in Java?
- Define immutable object?
- Explain the usage of this() with constructors?
- Explain Set Interface?
- What is market interface in Java ?
- How to achieve multiple inheritance in Java ?
- Explain TreeSet?
- What is Comparable Interface?
- What is JAR file?
- What is a WAR file?
- Define JIT compiler?
- Explain main thread under Thread class execution?
- Life cycle of an applet includes which steps?
- Why is the role of init() method under applets?
- Which method is called by Applet class to load an image?
- Define code as an attribute of Applet?
- Define canvas?
- Define Network Programming?
- What is a Socket?
- Advantages of Java Sockets?
- Disadvantages of Java Sockets?
- Which class is used by server applications to obtain a port and listen for client requests?
- Which class represents the socket that both the client and server use to communicate with each other?
- Why Generics are used in Java?
- What environment variables do I need to set on my machine in order to be able to run Java programs?
- Difference between package and inheritance ?
- Is there any need to import java.lang package?
- What is Nested top-level class?
- What is Externalizable interface?
- If System.exit (0); is written at the end of the try block, will the finally block still execute?
- How to implement interface in Java ?
- What is thread ?
- Explain life cycle of Thread ?
No comments:
Post a Comment