Question: Each object created from the Question Class will hold one question. Objects created from the Question class should have the following attributes: 1 . The

Each object created from the Question Class will hold one question. Objects created from the Question class should have the following attributes:
1. The question text (string)
2. The question answer (string)
3. Level of difficulty (integer 1-3,1 being easy, 3 being difficult)
All attributes should be private, and there should be getters/setters for all attributes. It should have a constructor that sets all 3 attributes.

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!