λFPAI
Practice/Person Details

Person Details

Beginner

Design a Person class with name, age, and address.

Add a method introduce() that prints or returns an introduction. Create family members and have them introduce.

OOP Focus: Constructor and string representation-like behavior.

Note: This is statement-only in the current Practice version; stdout should be empty.

Loading editor...

Output

Run or submit to see output.