You are on page 1of 1

Answer the following questions.

1. What is Java Swing used for?


Swing in Java is a lightweight GUI toolkit which has a wide variety of widgets for building
optimized window-based applications. It is a part of the JFC (Java Foundation Classes).
2. Why do we use import java util.*?
Java. util package contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility classes. This reference
will take you through simple and practical methods available in java.

Activity 2(Answers)
1.A
2.C
3.D
4.B
5.B

You might also like