Computer Science, asked by hasinazainab72, 7 months ago

what is mean by the following
employee staff=new employee();​

Answers

Answered by IamGenesis
4

Answer:

it is a statement for creating an object.....

you are creating a object staff of employee class by using the constructor employee().......new keyword is used for the dynamic initialisation.....

Similar questions