class employee
{
private : int id; char
name [20];
public :
employee(int x=100)
{
id=x;
}
};
Select one:
a. Objects can only be created with
one parameter
b. Objects can be created with zero or
one parameter
c. Objects can be created with many
parameters
d. Objects can only be created with
zero parameter
c. Object can be created with many parameter
Comments
Leave a comment