Computer Science, asked by abcd65807, 10 months ago

Differentiate between the following statements:
abc p = new abco;
abc p = new abc(5.7.9);​

Answers

Answered by bhawna753
3

Answer:

the first one abcp is wrong ... it's abc p

any one in the first one you declared the variable but haven't instantiated it ,while in itsecodn one you declared the variable then instantiated it with the keyboard newand initialized by adding value to it's constructor

Similar questions