Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Lamp {
- private bool state;
- public setState(bool b) {
- state = b;
- }
- public bool getState() {
- return state;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement