what do you mean n the following statement?
Computer keyboard=new computer();
Answers
Answered by
1
Answer:
computer keyboard.
guuuuuu
Answered by
0
Answer:
It is an example of a 'CREATION OF A METHOD'
Explanation:
ClassName object = new ClassName();
This is the syntax of creating a new method...so this question is actually showing a method and we just have to find that it is one...
In this...
'Computer' is the 'ClassNAME'
'keyboard' is the object
'new' is a keyword for allocating space for newly created objects...
P.S. Always see into the class name... Class names begin with a capital letter.
I hope you find it helpful.
Similar questions