0% found this document useful (0 votes)
4 views2 pages

Java Assignment 3

The document is an assignment from the Dr. Akhilesh Das Gupta Institute of Professional Studies for the Programming in Java course. It includes questions on various Java programming concepts such as thread management, synchronization, layout managers, and event handling. Additionally, it requires the design of a GUI using AWT that collects user input and clears fields upon submission.

Uploaded by

simranroy370
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)
4 views2 pages

Java Assignment 3

The document is an assignment from the Dr. Akhilesh Das Gupta Institute of Professional Studies for the Programming in Java course. It includes questions on various Java programming concepts such as thread management, synchronization, layout managers, and event handling. Additionally, it requires the design of a GUI using AWT that collects user input and clears fields upon submission.

Uploaded by

simranroy370
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

Dr.

Akhilesh Das Gupta Institute of Professional Studies


FC-26, Shastri Park, Shahdara, New Delhi-110053

DEPARTMENT OF INFORMATION TECHNOLGY

Assignment No. 3 (Based on UNIT 3)

Subject Name: Programming in Java Subject Code: CIC 212

Q1. Explain in brief:

a.) Differentiate - sleep(t), suspend(), wait()


(CO3)

b.) notify() and notify All() (CO3)

c.) Thread Synchronization (CO3)

d.) Differentiate Adapter Classes and Listener Interfaces


(CO3)

Q2 . Why do we need to apply synchronization in java programs? Give


suitable examples

Q3. Discuss different types of Layout Managers in Java.


(CO3)

Q4. Explain Delegation Event Model with example. (CO3)

Q5. Discuss life cycle of a thread.


(CO3)

Q6 Design a GUI that takes following inputs from user- “Name, Age, Marital Status,
Gender, Address, Hobbies, Employee ID, Company Name” using AWT. As User
clicks the “Submit” Button all the fields should get blank. (CO3)

You might also like