OOPS Introduction

What is a class in java?
A class is a blue print from which individual objects are created. A class can contain fields and methods to describe the behavior of an object.
class is a special data type
class is used to allocate memory to a data type
none of the above
Which one of the following are essential features of an object-oriented programming language? (GATE CS 2005) (i) Abstraction and encapsulation (ii) Strictly-typedness (iii) Type-safe property coupled with sub-type rule (iv) Polymorphism in the presence of inheritance
(i) and (ii) only
(i) and (iv) only
(i), (ii) and (iv) only
(i), (iii) and (iv) only
which operator is considered to be with highest precedence?
() , []
=
?:
%
0
{"name":"OOPS Introduction", "url":"https://www.quiz-maker.com/QCOV0GH0","txt":"What is a class in java?, Which one of the following are essential features of an object-oriented programming language? (GATE CS 2005) (i) Abstraction and encapsulation (ii) Strictly-typedness (iii) Type-safe property coupled with sub-type rule (iv) Polymorphism in the presence of inheritance, which operator is considered to be with highest precedence?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker