Basic C, C++, Java Programming Quiz with Answers Pdf - 1

Question: 1

Creating _____ is the fundamental concept in object oriented programming language.

(A) object

(B) class

(C) function

(D) data

Ans: A

object

Question: 2

The process of restricting the free flow of data from the outside world is known as

(A) class

(B) function

(C) inheritance

(D) encapsulation

Ans: D

encapsulation

Question: 3

The process by which a class acquires the properties from another class is called

(A) abstraction

(B) object

(C) polymorphism

(D) inheritance

Ans: D

inheritance

Question: 4

A Java program developed and executed by the users without using web browser is known as

(A) object

(B) applet

(C) application

(D) none of these

Ans: C

application

Question: 5

The process of combining data and functions that enables them to be together as a single entity is called

(A) attributes

(B) classification

(C) encapsulation

(D) inheritance

Ans: C

encapsulation

Related Questions