
OOP_1

Quiz
•
Engineering
•
University
•
Medium
Arti Sonawane
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will str1==str2 return if both refer to the same string literal?
true
false
compilation error
0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a constructor?
To destroy objects
to call methods
to initialise object
to inherit classes
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is an incorrect array declaration?
int arr[] = new int[5]
int [] arr = new int[5]
int arr[] = new int[5]
int arr[] = int [5] new
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which access modifier makes a member accessible within the same package?
public
private
protected
default(no modifier)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the static keyword mean in a method declaration?
The method belongs to an object
The method can only be called once
The method belongs to the class, not instances
The method cannot be accessed
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is constructor overloading?
Having multiple constructors with different names
Having multiple constructors with different return types
Having multiple constructors with different parameters
Having a constructor inside a method
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these method of String class can be used to test to strings for equality?
isequal()
isequals()
equal()
equals()
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Oops moment/1

Quiz
•
University
10 questions
java1

Quiz
•
University
10 questions
Strings in python

Quiz
•
University
15 questions
C Programming Quiz

Quiz
•
University
15 questions
Variables y constantes

Quiz
•
University
10 questions
Alpro 2 Mg 1 - Understanding C++ Basics

Quiz
•
University
7 questions
Exception, Abstraction

Quiz
•
University
10 questions
UNIT-I Water Supply

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Engineering
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University