0

Age member

class Dog { private int age; Public Dog(int val) { age = ; } } I don't know the last question age= Please!

28th Dec 2020, 3:55 PM
Karina
Karina - avatar
2 Answers
+ 5
val ?
28th Dec 2020, 4:02 PM
Avinesh
Avinesh - avatar
+ 1
thanks a milion. I put “value” but it was wrong. Now, I understand it.
28th Dec 2020, 4:06 PM
Karina
Karina - avatar