CSC-113-Tutorial.6 - invoked as a method of the Car class...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
KSU / CCIS / CS DEPARTMENT CSC-113, SPRING 2010 TUTORIAL 6 – POLYMORPHISM Translate the following UML into java code. The method displayAll () should print all the attributes of the object. For example, if
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: invoked as a method of the Car class, it has to print model , year , color and gear ....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online