Unit 1 - Classes and Objects

Quiz
•
Computers
•
University
•
Medium
M.RAMYA CSE
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A function in C language is similar to what in Java language?
Variable
Member
Method
Class
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
All methods and variables in Java language are kept inside a?
File
Package
Class
Interface
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the need to mention "static" before main method?
To call main method without creating an object of class
To call main method using object creation
To avoid method overriding
To avoid calling the main method
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the use of Access modifier "public" in Java language?
To hide the main method from misuse
To call the main method outside of Class or Package by JVM
To protect main method
None of the mentioned
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Name of a Class, Variable, Method or an Interface in Java language is called?
Argument
Value
Identifier
Object
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these class is superclass of every class in Java?
Main
Object
String
Singleton
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which represent the real world entity in Java?
Class
Object
Data members
Main method
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Python_OOP_Intro_Quiz

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

Quiz
•
University
10 questions
Chapter 5 Java swing , small Apps

Quiz
•
University
15 questions
002_Java Methods

Quiz
•
12th Grade - University
10 questions
Structure of Java Program

Quiz
•
University
12 questions
Java Class vocabulary

Quiz
•
9th Grade - University
11 questions
Basics of JAVA

Quiz
•
University
10 questions
STM 20483 QUIZ 1

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade