- 1

Classes and Objects Getters and Setters

class A { private int x; public ____ getX() { return ____ ; } public ___ setX(int x) { this.x = x; } } Help me on this Question

2nd Jul 2017, 3:19 AM
marvin burboran
marvin burboran - avatar
1 Answer
0
int, x, void, in that order from top. in case you completed a challenge, you can go to the result on the mobile app and look into the solutions.
2nd Jul 2017, 4:07 AM
Venkatesh Pitta
Venkatesh Pitta - avatar