Title Using an Abstract Class
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-bj-4-inher-109
Platform Name CodeCheck
Features Code Completion
Description Light bulbs can be identified by type and can be measured by the amount of lumens produced per watt of power. The Incandescent and Fluorescent classes below inherit from the abstract LightBulb class. Complete the LightBulb class so that the getDescription method returns a string of the form lumensPerWatt=...,shape=... (without any spaces). Be sure that your class is abstract!
Keywords Inheritance
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-bj-4-inher-109
Protocol SPLICE, LTI 1.1
Protocol URL
License https://creativecommons.org/licenses/by-nc-nd/4.0/
Programming Language Java
Natural Language en

Preview

SPLICE Output