BPSC Tre 4.0 OOPS Concepts Practice Set
Que: (1). Which among the following, for a pure OOP language, is true?
Que: (2). Which feature of OOP is indicated by the following code?
class student{ int marks; };
class topper:public student{ int age; topper(int age){ this.age=age; } };
Que: (3). Which among the following can show polymorphism?
Que: (4). Who invented OOP?
Que: (5). How many types of access specifiers are provided in OOP (C++)?
Que: (6). Why Java is Partially OOP language?
Why Java is Partially OOP language?
(b) It does not support pointers
(d) It doesn't support all types of inheritance
(a) It allows code to be written outside classes
(c) It supports usual declaration of primitive data types