Respuesta :

Answer and Explanation:

Using Javascript:

Class PetData{

Constructor(name, age, id){

this.name= name;

this.age =age;

this.id = id;

}

print_all(){

return this.name+""+this.age+""+this.id;

}

}

Here we have defined class PetData with its constructor which would initialize the object/instance of the class when called, example:

Var catData = new PetData(sisi, 1, 2333);

In this exercise we have to use the knowledge of computational language in python to write the following code:

The code can be found in the attached image.

That way, to find it more easily we have the code like:

Class PetData{

Constructor(name, age, id){

this.name= name;

this.age =age;

this.id = id;

}

print_all(){

return this.name+""+this.age+""+this.id;

}

}

Var catData = new PetData(sisi, 1, 2333);

See more about JAVA at brainly.com/question/26104476

Ver imagen lhmarianateixeira