Make a Widget Class file from this UML -make the things private that need to be private, and the things public that need to be public
Widget
weight: double
length: double
width: double
height: double
sku: String unique item code
description: String description of widget
Widget() create empty widget
Widget(sku: String, weight; double, length: double: width: double, height:double, description:String) default description to empty string
toString(): String string description of widget
setWeight(weight: double): void
setLength(length:double):void
setWidth(width:double):void
setHeight(height:double):void
setters – all should validate that the input is > 0; default = 1
setSKU(sku: String): void
setDescription(description: String) : void
getWeight(): double
getLength():double
getWidth():double
getHeight():double
getSKU(): String
getDescription(): String
getters