Class Porsche
java.lang.Object
|
+----Porsche
- public class Porsche
- extends Object
A simple class for demonstrating the use of javadoc comments
- See Also:
- Automobile
-
color
-
-
Porsche()
-
-
getColor()
- Retrieve the value of color.
-
setColor(String)
- Set the value of color.
color
protected String color
Porsche
public Porsche()
getColor
public String getColor()
- Retrieve the value of color.
- Returns:
- A String data type.
setColor
public void setColor(String newColor)
- Set the value of color.
- Parameters:
- newColor - A variable of type String.