We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 4: Class vs. Instance
Day 4: Class vs. Instance
Sort by
recency
|
1912 Discussions
|
Please Login in order to post a comment
How am i supposed to debug if i am not allowed to change/ update the main[] method at all? This program seems to have problem in itself i.e. the testcase is failing because of extra blank space but i am unable to remove that additional print statement from the main[] method.
C# code of the Person class..
Python
class Person: def init(self, initialAge): self.age = initialAge
Python code
public Person(int initialAge) {