+ 1

How do you write an OOP program with a method?

I am having a difficulty trying to figure out how to use a method in an object oriented program. I'm doing one on calculating the age of a person by asking for their birthday.

18th Nov 2017, 4:14 AM
Harsh Yadav
Harsh Yadav - avatar
6 Answers
0
collects the data then calculates it(collects birthday and calculates the age)
18th Nov 2017, 4:35 AM
Harsh Yadav
Harsh Yadav - avatar
0
ohh ok so then what about for calculating.
18th Nov 2017, 4:38 AM
Harsh Yadav
Harsh Yadav - avatar
0
ok thx
18th Nov 2017, 4:48 AM
Harsh Yadav
Harsh Yadav - avatar