Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Create a class children.

–1 vote
asked Jun 14, 2019 by mark (220 points)
Create a class children, it should contain child’s name, last name and age as private variables. Class also should have constructor which allows initialization of all private variables of the class. Create 10 element array of objects from class children, where all objects should be initialized using the constructor. Create 10 element array of void objects from class children (use override), sort the initial array of objects according to the children age and write the sorted objects in the second, void array.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.