Consider a class that represents a hardware device. The device can be in one of two states: plugged in or unplugged. Which of the following class definitions is best for this situation?
1) class Device { boolean pluggedIn; }
2) class Device { boolean isPluggedIn; }
3) class Device { boolean connected; }
4) class Device { boolean isConnected; }