documentation and analysis of oop
documentation 📝🥪
A class is defined when variables, objects or methods are added to the code.
public class MyNeighborhood {
// where the objects and methods go
}
instance of an object of the
Painter myPainter = new Painter();
class calls the main method to execute
Menu.main(null);
mutating data: the following method parses an input as a double
double w = sc.nextDouble();