Assignment -2
Object Oriented Programming Using Java(P020812T)
1. Define Java and list its key features.
2. What are data types in Java? Name different types.
3. Write a Java program to demonstrate all types of operators.
4. Write a program to implement different control statements
5. Explain the concept of arrays with suitable examples.
6. Differentiate between if, switch, and looping statements.
7. Explain methods in Java and their types.
8. Create a class and demonstrate constructor and method overloading.
9. Explain single and multiple inheritance with examples.
10. Develop a program to implement interfaces in Java.
11. Differentiate between abstract class and interface.
12. Explain exception handling using try-catch-finally.
13. Describe the life cycle of a thread.
14. Explain file handling in Java using I/O streams.
15. Explain string handling methods in Java.
16. Describe the working of event handling model.
17. Explain AWT components and controls.
18. Discuss different layout managers in Java
19. Write a program for file read and write operations using Java I/O.
20. Develop a GUI application using AWT controls and layout managers.
21. Write a program to handle string operations (reverse, palindrome, etc.).
22. Develop a simple client-server program using Java networking.
23. Create an event-driven program using AWT.