
6CSN1
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
RAVIKANTH K
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following function is used to generate the application's top-level window?
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 it
2. 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
Which statement is incorrect>?
1. Class can contain another class inside it
2. 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"); }
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
13 questions
GIT COURSE
Quiz
•
University
12 questions
R variable Data Type and Flow Control Quiz
Quiz
•
University
10 questions
AMS - Aula 03
Quiz
•
University
10 questions
Roteamento IS-IS
Quiz
•
University
10 questions
Kuis Sensor 1
Quiz
•
University
10 questions
CC 105 - Quiz 2 FINAL TERM
Quiz
•
University
10 questions
T02: Python - The Basics
Quiz
•
University
13 questions
CIS1103 Week 9_10 CLO3 Part 3
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
