0% found this document useful (0 votes)
5 views1 page

Java Assignment 2

The document outlines an assignment for Object Oriented Programming using Java, detailing various tasks such as defining Java, explaining data types, and writing programs to demonstrate operators and control statements. It covers concepts like arrays, inheritance, interfaces, exception handling, file handling, string operations, and event handling. Additionally, it includes practical assignments like developing GUI applications and client-server programs.

Uploaded by

vivekyadav22550
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Java Assignment 2

The document outlines an assignment for Object Oriented Programming using Java, detailing various tasks such as defining Java, explaining data types, and writing programs to demonstrate operators and control statements. It covers concepts like arrays, inheritance, interfaces, exception handling, file handling, string operations, and event handling. Additionally, it includes practical assignments like developing GUI applications and client-server programs.

Uploaded by

vivekyadav22550
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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.

You might also like