Question: Bot - String serialNumber - CPU cpu - ALU alu - Bot ( String serialNumber ) + abstract String displayBotAsHTML ( ) + String toHTML

Bot-String serialNumber-CPU cpu-ALU alu-Bot(String serialNumber)+abstract String displayBotAsHTML()+String toHTML()+void databaseStore()+void writeBotToSQLFile() SigmaBot-String sigmaID-String sigmaCode SigmaBot(String serialNumber)+String displayBotAsHTML() Constructors must initialize all state of the object. Subclasses must use their superclass constructors. The cpu and alu attributes values correspond to their enumeration (Sigma, Tau) The serialNumber of SigmaBots always begins an S The serialNumber of TauBots always begins T with with an The sigmaID, sigmaCode, tauID, and tauCode TauBot-String tauID-String tauCode TauBot(String serialNumber)+String displayBotAsHTML() correspond to their cpu and alu model concatenated with ID and CODE respectively. EXAMPLE: sigmaID =CPU-SigmaID tauCode =ALU-TauCODE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!