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

Oops Assignment

The document outlines various topics related to Java programming, including the differences between multithreading and multitasking, the thread life cycle, and AWT components. It also covers Swing components, thread synchronization, and the MVC architecture used in Swing. Additionally, it includes questions regarding AWT limitations and a comparison between JApplet and JFrame, with a submission date of April 2, 2026.

Uploaded by

begumvikas
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)
2 views1 page

Oops Assignment

The document outlines various topics related to Java programming, including the differences between multithreading and multitasking, the thread life cycle, and AWT components. It also covers Swing components, thread synchronization, and the MVC architecture used in Swing. Additionally, it includes questions regarding AWT limitations and a comparison between JApplet and JFrame, with a submission date of April 2, 2026.

Uploaded by

begumvikas
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

(a)Differentiate between multithreading and multitasking.

1
(b) Explain the thread life cycle with different states.

(a) Explain AWT components: Label, Button, and Checkbox.


2
(b) Explain any three layout managers: FlowLayout, BorderLayout, GridLayout.

(a) Explain any four Swing components (JButton, JLabel, JTextField, JCheckBox).
3
(b) Describe containers in Swing and explain JFrame and JComponent.
a) Differentiate between regular threads and daemon threads in Java. b) Describe the life
4
cycle of a thread in Java
(a) What are Annotations in Java?
5
(b) What is thread synchronization? Explain its need with an example.
a) Implement a Java program that utilizes the AWT class hierarchy to create a simple user
6 interface.
b) Discuss the handling of mouse events in Java.
(a) What are the limitations of AWT?
7
(b) Explain MVC architecture used in Swing.
a) Describe the Model-View-Controller architecture.
8
b) Compare the features of JApplet and JFrame in Java Swing.
ASSIGNMENT QUETIONS

Date of Submission : 02/04/2026

You might also like