Which of the following function is used to generate the application's top-level window?

6CSN1

Quiz
•
Computers
•
University
•
Hard
RAVIKANTH K
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
JPanel
JFrame
JCombo
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Among AWT and Swing which is platform independent?
AWT
Swing
Both
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java, can a class implement multiple interfaces
Only Absract classes can implement
Classes can implement only 1 interface
Classes can implement multiple classes only
Yes, classes can implement
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of abstract classes
To declare abstract methods
To provide a base class with common methods and fields
To make a class final
All the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is incorrect>?
1. Class can contain another class inside it2. Class can contain an interface inside it
3. An interface can contain an interface inside it
4. An interface can contain a class inside it
1
2
3
None
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Spot the mistake in the code snipet
int i = 0; while(i < 5) { i++; } System.out.println(i);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet.
if(false){ System.out.println("True"); } else{ System.out.println("False"); }
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Java Arrays

Quiz
•
University
10 questions
Java Quiz 1

Quiz
•
University
10 questions
exception

Quiz
•
University
12 questions
MS Core Java Quiz-2 2023

Quiz
•
University
10 questions
java quiz based on interface

Quiz
•
University
12 questions
Java quiz-2024-Sec-B

Quiz
•
University
10 questions
APIs

Quiz
•
University - Professi...
15 questions
Unit 2 Inheritance in Java

Quiz
•
12th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade