| Title | The Class for Representing a TV (Case 1) |
| Catalog Type | SLCItem |
| Persistent ID | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/objects_classes_tv__68bdb308f6cc3d7a9cc096b7?index=0 |
| Platform Name | PCEX |
| Features | — |
| Description | Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or off, current channel). The class should include methods to access the state of the TV and also methods to change the state of the TV (turn on/off, change channels). Assume that the valid channel range is from 1 to 120 (both inclusive). \n\nThe class TVTester1 instantiates two objects from this class and invokes the methods on those objects to turn on the TV and change the channel. |
| Keywords | — |
| Author | Mohammad Hassany |
| Institution | University of Pittsburgh |
| Iframe URL | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/objects_classes_tv__68bdb308f6cc3d7a9cc096b7?index=0 |
| Protocol | SPLICE |
| Protocol URL | |
| License | MIT |
| Programming Language | JAVA |
| Natural Language | en |