X699: Field Accessors Exercise

In the class below, create three private fields and two public fields. The types can be any primitive, and the values can be anything.

Your Answer:

x
 
1
class MyClass {
2
    
3
}
4

Feedback

Your feedback will appear here when you check your answer.