Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Lab 3 - Triangle
- Use Geomertric object from files for lab#3
- #13.9 - Circle
- add comparable
- override equals method
- similar to rectangle
- add a main to test
- Test---------------------------------------------------
- Review Abstract & interfaces
- revisit employee, rectangle
- Review for next week's test
- Review--------------------------------------------------
- Overloads- Same name method but different parameters.
- Override- Same name, same parameters
- Inheritance - different class
- CONSTRUCTOR- Same name as class, invoked with new operator, no return type (not even void)
- METHOD- Any legal name, invoke with a method call, any return type
- Wrappers - Provide more functionality
- Double - double
- Character - char
- Static- Shared by whole class
- Static method- invoke without creating an instance
- Final - Constant
- Final Method- Child cannot override parent method
- Final Class - Cannot extend class (Math)
- Child can do anything the parent does plus what the child adds
- Why instance of?
- To test for a certain type of object
- Super - to go up a generation
- private - within the class
- protected - within the family
- public - everyone
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement