Question: Problem3. Declare a class named Pokemon with the following methods and instance variables: A (public) constructor with two int parameters and a string parameter. A

Problem3. Declare a class named Pokemon with the following methods and instance variables: A (public) constructor with two int parameters and a string parameter. A public method named level up with no parameters that returns nothing. A public method named summary with no parameters that returns a string. A public method named gain experience with an int parameter that returns nothing. info with no parameters that returns a string. A private int variable named combat points. A private int variable named level. A private string variable named name.

//C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!