1. Create a Tiles class that will contain publicly available fields: brand, size_h, size_w, price, and the getData () class
method.In the main function, declare a couple of class objects and enter data into the fields.Then display them by calling the getData () method
a) Use constructor
b) Method getData(
2. Define the Children class, which contains the following fields (class members): private - child's first name, last name and age, public - methods for entering data and displaying them on the screen.Declare two objects of the class, fill in the data and show it
A) First method for entering dat
B) Second method displaying on the screen