Untitled

ProblemFreeGalaxy avatar
ProblemFreeGalaxy
·
·
Download

Start Quiz

Study Flashcards

22 Questions

The process by which one object can acquire the properties of another object:

B. Inheritance

Constructors are used to:

C. Initialize a newly created object.

An object that has more than one form is referred to as:

D. Polymorphism

Information Hiding can also be termed as:

B. Encapsulation

Main method can be overridden:

False

The keyword that is used to access the method or member variables from the superclass:

Super

When sub class declares a method that has the same type of arguments as a method declared by one of its superclasses, it is termed as:

Method overriding

What is the difference between method overloading and method overriding in Java?

All of the above.

Which is not a feature of OOP in general definitions?

Duplicate/Redundant data

Which feature of OOP indicates code reusability?

Inheritance

Which of the following is not true about polymorphism?

Increases overhead of function definition always

What does CSS stand for?

Cascading Style Sheets

Website: A collection of _________________________ web pages on the World Wide Web

interlinked

In computer science a language used to create web pages is...

HTML

Fill in the blank: HTML Hypertext ________________ Language

Markup

What does a hyperlink do?

Takes you to another web page Takes you to another website

What is the primary focus of abstraction in Java?

Essentials

In Java, what does abstraction aim to hide?

Specific details

What aspect of Java does abstraction emphasize?

Essential qualities

Which keyword is used to define a class in Java that cannot be instantiated and can only be used as a base for other classes?

abstract

What is the term for the process of wrapping the data members and methods into a single unit known as a class?

encapsulation

What is the access modifier that restricts the access to the members within the same class?

private

Test your knowledge of Java programming with this quiz about the keyword used to create an abstract class. Choose the correct option and see how well you know Java!

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

AWT in Java
5 questions

AWT in Java

MeticulousOrange avatar
MeticulousOrange
AWT in Java Quiz
5 questions

AWT in Java Quiz

VisionaryPeridot6562 avatar
VisionaryPeridot6562
Abstract Classes in Java
18 questions

Abstract Classes in Java

ImportantSymbolism5682 avatar
ImportantSymbolism5682
Java Abstract Classes
18 questions
Use Quizgecko on...
Browser
Browser