in Object Oriented Programming edited by
10,451 views
1 vote
1 vote

a class having no name

  1. is not allowed
  2. cannot have a constructor
  3. cannot have a destructor
  4. cannot be passed as an argument
in Object Oriented Programming edited by
10.5k views

1 Answer

3 votes
3 votes
Best answer
since this class dont have name it can not have constructor or destructor and it can neither be passed as argument.

so ans is B,C,D  

 

is quite useless, but you can specyfy a class without a name and then create instances of this class. Knowing that you can use the following:
selected by

Related questions

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