CSD_Batch-2_AJP_Lab-2 (2025-26)

CSD_Batch-2_AJP_Lab-2 (2025-26)

University

10 Qs

quiz-placeholder

Similar activities

Android Study Jam session 3 "Scrollable List"

Android Study Jam session 3 "Scrollable List"

University - Professional Development

14 Qs

OOP Quiz

OOP Quiz

University

10 Qs

Examen Móviles POO

Examen Móviles POO

University

14 Qs

Basic Microsoft Word

Basic Microsoft Word

1st Grade - Professional Development

15 Qs

Word Session Quiz

Word Session Quiz

7th Grade - University

13 Qs

Programación Móvil I Parte 1

Programación Móvil I Parte 1

University

10 Qs

Day 1 - Deployment ...

Day 1 - Deployment ...

University

15 Qs

Quiz Android 1

Quiz Android 1

University

15 Qs

CSD_Batch-2_AJP_Lab-2 (2025-26)

CSD_Batch-2_AJP_Lab-2 (2025-26)

Assessment

Quiz

Computers

University

Hard

Created by

HARITHA REDDY

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the container that contain title bar and can have MenuBars. It can have other components like button, textfield etc.?

Panel

Frame

Window

Container

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following statement(s) is/are true about Swing in Java

Swing components are platform-dependent and rely on the native operating system's GUI components.

All Swing components are lightweight and written entirely in Java.

Swing provides a richer set of GUI components than AWT.

JFrame is used only for creating console-based applications.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these packages contains all the classes and methods required for event handling in Java?

java.applet

java.awt

java.event

java.awt.event

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

By which method You can set or change the text in a Label ?

setText()

gettext()

settext()

getText()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

.................................... is a swing class that allows to enter a single line of text.

TextField

JTextField

JEditTextField

JTextArea

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The signature for the registration method for an ActionEvent should be ....................

public void addActionListener(ActionEvent L)

public void setAction(ActionListener L)

public void setActionListener(ActionListener L)

public void addActionListener(ActionListener L)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a method in WindowListener interface?

windowOpened(WindowEvent e)

windowClosing(WindowEvent e)

windowResized(WindowEvent e)

windowIconified(WindowEvent e)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?