Quiz #2 (Refer to Javatpoint in answering these question)

Quiz
•
Computers
•
University
•
Easy
Kim Palaran
Used 2+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If a class has multiple methods having same name but different in parameters, it is known as _______ ?
Method Overriding
Method Overloading
Method Overruling
Method Initialization
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If subclass (child class) has the same method as declared in the parent class, it is known as _______?
Method Overruling
Method Initialization
Method Overriding
Method Overloading
3.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Below are different ways to overload the method, EXCEPT (choose 2):
By changing the parameters
By changing number of arguments
By changing the data type
By changing the class name
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Can we override static method?
No, because the static method is bound with class whereas instance method is bound with an object.
Yes, static belongs to the class area, and an instance belongs to the heap area.
It depends upon the situation.
None of the above
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the 'final' keyword do? Choose an accurate statement.
If you make any variable as final, you can still change the value of final variable.
If you make any variable as final, you cannot change the value of final variable (It will be constant).
If you make any variable as final, you cannot change the parameter of final variable.
If you make any variable as final, you cannot change the argument of final variable.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
It is a concept by which we can perform a single action in different ways. It is derived from 2 Greek words:
Polymorphism
Abstraction
Inheritance
Encapsulation
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
It is a mechanism in which one object acquires all the properties and behaviors of a parent object. It is an important part of OOP (Object Oriented programming system).
Polymorphism
Abstraction
Inheritance
Encapsulation
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
JQuery Quiz

Quiz
•
University
10 questions
Week 9 C# (for Java programmers)

Quiz
•
University
10 questions
Programming Quiz

Quiz
•
University
15 questions
CS 2nd Semester Mid-Term

Quiz
•
10th Grade - University
10 questions
Python - Functions

Quiz
•
University
10 questions
IT Quiz Round 3

Quiz
•
University
10 questions
JAVA I/O

Quiz
•
University
18 questions
Chapter 1 - 2 Review -- 4-8-2024

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University