CS26L 3RD EXAM

CS26L 3RD EXAM

University

79 Qs

quiz-placeholder

Similar activities

RECAP- .Net Programming

RECAP- .Net Programming

University

77 Qs

Квиз по Бэкенд-разработке

Квиз по Бэкенд-разработке

University

80 Qs

Java Exceptions and Programming Concepts

Java Exceptions and Programming Concepts

University

81 Qs

UH2 PBO Sem 2 2021/2022 SMKN9 Medan

UH2 PBO Sem 2 2021/2022 SMKN9 Medan

11th Grade - University

75 Qs

Exception Handling Package Interface Test

Exception Handling Package Interface Test

University

81 Qs

CMP128 Java Ch. 11-07-05-04 Exam #2 Study Guide Quiz

CMP128 Java Ch. 11-07-05-04 Exam #2 Study Guide Quiz

University

84 Qs

ITE260 1st PERIOD (Review)

ITE260 1st PERIOD (Review)

11th Grade - University

79 Qs

Quiz

Quiz

University

80 Qs

CS26L 3RD EXAM

CS26L 3RD EXAM

Assessment

Quiz

Computers

University

Hard

Created by

PRINCESS SALARZA

Used 4+ times

FREE Resource

79 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The object of (blank) class is a single line input field that allows the user to select a number or an object value from an ordered sequence.

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

is a software intermediary that allows two applications to talk to each other

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

import java.awt.*;

import javax.swing.*;

public class PanelExample {

PanelExample(){

JFrame f= new JFrame("Panel Example");

JPanel panel=new JPanel();

panel.setBounds(40,80,200,200);

panel.setBackground(Color.gray);

JButton b1=new JButton("Button 1");

b1.setBounds(50,100,80,30);

b1.setBackground(Color.yellow);

JButton b2=new JButton("Button 2");

b2.setBounds(100,100,80,30);

b2.setBackground(Color.green);panel.add(b1);

panel.add(b2);

f.add(panel);

f.setSize(400,400);

f.setLayout(null);

f.setVisible(true);

}

public static void main(String args[]){new PanelExample();

}}

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

- To change−the look and feel of the frame.

JFrame.setDefaultLookAndFeelDecorated(true);

UIManager.getCrossPlatformLookAndFeelClassName()

UIManager.setLookAndFeel()

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

API stands for

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

-          (blank) inherited the properties of JComponent class and implemented them with an Accessible interface.

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Creates acolor chooser pane with the specified initial color.

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?