You are given the task to create the Java classes corresponding to light bulbs (of different characteristics) that can be individually plugged-in on one of the 4 sockets of a control panel allowing the light on or off at will.
The produced code must allow executing the "script" as follows:
static public void main(String[] args) {
// Technicians are working hard to mount this...
LightBulb a1 = new LightBulb("yellow");