search
Log In
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
0 votes
308 views

Which of the following is true?

(A) A “static” member of a class cannot be inherited by its derived class.

(B) A “static” member of a class can be initialized only within the class it is a member of.

(C) A “static” member of a class can be initialized before an object of that class is created.

(D) Since “static” member of a class is actually a global element, it does not require a class/object qualifier to access it independently of class/object.

in Object Oriented Programming 308 views

1 Answer

0 votes

Answer: (C)

A “static” member of a class can be initialized before an object of that class is created.

Related questions

0 votes
1 answer
1
1.4k views
Which of the following is not correct (in C++)? 1) Class templates and function templates are instantiated in the same way. 2) Class templates differ from function templates in the way they are initiated. 3) Class templates is initiated by defining an object using the template argument. 4) Class templates are generally used for storage classes.
asked Nov 9, 2017 in Object Oriented Programming Devwritt 1.4k views
0 votes
0 answers
2
102 views
why did constructor's name is same as class name and it has no return type
asked Mar 21, 2018 in Object Oriented Programming kd..... 102 views
0 votes
1 answer
3
332 views
In software development, value adjustment factors include the following among others: (A) the criticality of the performance and reusability of the code. (B) number of lines of code in the software. (C) number of technical manpower and hardware costs. (D) time period available and the level of user friendliness.
asked Sep 27, 2017 in IS&Software Engineering rishu_darkshadow 332 views
0 votes
1 answer
4
515 views
At the end of parsing, (A) tokens are identified. (B) set of instructions are identified. (C) the syntactic groups are identified. (D) machine instructions are identified.
asked Sep 27, 2017 in Compiler Design rishu_darkshadow 515 views
...