|
Today's lecture started with some more info on print statements. Using print vs. println. Using the escape character
'\' and casting from int -> char and char -> int.
The second part was importing packages from the Java API. We imported in the Rectangle class and instantiated a Rectangle in the constructor of another class that was instantiated inside the main method. Remember
| |
| The Printing Program | The Rectangle Program |
This is the program I will be covering on Monday. We will be instantiating more classes, calling methods returning values from methods and much, much more. I feel like a car salesman. |
|
| The Parent | The Baby |