You are on page 1of 3

7/22/23, 6:14 PM CBSE Class 12 Computer Science Classes and Objects In Java MCQs Set A, Multiple Choice Questions

c) New
d) new
Answer: new

Question: ______means to initialize the newly created object.

a) Initialization
b) Instantiation
c) Declaration
d) Modification
Answer: Initialization

Question: A______is called to initialize the newly created object.

a) Variable
b) Constructor
c) Class
d) Method
Answer: Constructor

Question: A______is a special type of method.

a) Variable
b) Constructor
c) Class
d) Method
Answer: Constructor

Question: In Java, a class is a______

a) Brand
b) Kind
c) Type
d) Form
Answer: Type

Question: In Java, the______examples are int and Boolean.

a) Brand types
b) Form types
c) Built-in types
https://www.studiestoday.com/mcq-computer-science-cbse-class-12-computer-science-classes-and-objects-java-mcqs-set-312647.html 31/40
7/22/23, 6:14 PM CBSE Class 12 Computer Science Classes and Objects In Java MCQs Set A, Multiple Choice Questions
d) None of these
Answer: Built-in types

Question: A_______can be used to specify the type of a variable in a declaration statement, the type of a formal parameter, or the return type of a function.

a) Class declaration
b) Class name
c) Class types
d) All of these
Answer: Class name

Question: Declaring a variable does not create a________

a) Object
b) Memory space
c) Class
d) Boolean
Answer: Object

Question: In Java, no_____can ever store an object.

a) Variable
b) Constructor
c) Class
d) Method
Answer: Variable

Question: A variable declared using class type can only store a_____to an object.

a) Orientation
b) Position
c) Reference
d) Indication
Answer: Reference

https://www.studiestoday.com/mcq-computer-science-cbse-class-12-computer-science-classes-and-objects-java-mcqs-set-312647.html 32/40
7/22/23, 6:14 PM CBSE Class 12 Computer Science Classes and Objects In Java MCQs Set A, Multiple Choice Questions

More Computer Science Study Material


(/taxonomy/term/448)

 Cascading Style Sheets and JavaScript

CBSE Class 12 Computer Science Cascading Style Sheets and JavaScript MCQs (/mcq-computer-science-cbse-class-12-computer-science-cascading-style-sheets-and-
javascript-mcqs-set)

 Classes and Objects In Java

CBSE Class 12 Computer Science Classes and Objects In Java MCQs Set A (/mcq-computer-science-cbse-class-12-computer-science-classes-and-objects-java-mcqs-set-
312647.html)

CBSE Class 12 Computer Science Classes and Objects In Java MCQs Set B (/mcq-computer-science-cbse-class-12-computer-science-classes-and-objects-java-mcqs-set-c-
312654.html)

 Creating HTML Forms Using KompoZer

CBSE Class 12 Computer Science Creating HTML Forms Using KompoZer MCQs Set A (/mcq-computer-science-cbse-class-12-computer-science-creating-html-forms-using-
kompozer-mcqs-set)

CBSE Class 12 Computer Science Creating HTML Forms Using KompoZer MCQs Set B (/mcq-computer-science-cbse-class-12-computer-science-creating-html-forms-
using-kompozer-mcqs-set-f)

 Designing Simple Website Using Kompozer

CBSE Class 12 Computer Science Designing Simple Website Using Kompozer MCQs (/mcq-computer-science-cbse-class-12-computer-science-designing-simple-website-
using-kompozer-mcqs-set)

 Exception Handling In Java

CBSE Class 12 Computer Science Exception Handling In Java MCQs (/mcq-computer-science-cbse-class-12-computer-science-exception-handling-java-mcqs-set-


311066.html)

https://www.studiestoday.com/mcq-computer-science-cbse-class-12-computer-science-classes-and-objects-java-mcqs-set-312647.html 33/40

You might also like