java important questions
java important questions
Unit-1
Unit-2
Unit-3
1. Classes and Objects with examples
2. Constructors and Constructor overloading in java
3. objects-Garbage collector in java
4. variable and methods in java
5. arrays in java with example
6. command line arguments in java
7. Interfaces in java with example
8. Method overloading and method overriding with an example
9. Extend keyword ,Final keyword and abstract methods in java with
syntax’s and examples
10.Exception handling in java
Unit-4
1. Thread concepts, The main Thread, Creation of new threads, Thread
priority, Multithreading- Using is Alive() and join() with examples
2. Thread life cycle with example
3. Synchronization with examples
4. Resuming threads with examples
5. Communication between threads
6. Deadlock scenario with examples
Unit-5
1. Explain applets and applet life cycle in java
2. Event handling in java
3. javax.swing package, JFrame, JApplet, JPanel,
4. Components in swings,
5. Layout Managers,
6. JList and JScroll Pane, Split Pane, JTabbedPane, Dialog Box.