
Day 1 Wipro Training
Authored by Ms.Yatri Davda
Engineering
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is true about constructor overloading in Java?
Constructors can have the same name and parameter list
Constructors must return a value
Constructors can be overloaded with different parameter types
Constructors cannot be overloaded
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which keyword prevents a class from being inherited?
abstract
static
final
private
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these is not a feature of OOP in Java?
Compilation
Polymorphism
Encapsulation
Inheritance
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
5
10
15
Compilation error
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which access modifier allows access only within the same package?
private
protected
public
default
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of "10" + 20 + 30 in Java?
1050.30
1050
1050.0
102030
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is true about ArrayList in Java?
It's thread-safe
It stores primitive types only
It's dynamic
It is fixed in size
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?