Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
KaiquanMah
/
TurkuBasicOOPinJava
like
0
Running
App
Files
Files
Community
2ac5973
TurkuBasicOOPinJava
/
Week 5: Class hierarchies
43.7 kB
1 contributor
History:
17 commits
KaiquanMah
MULTIPLE CONSTRUCTORS, EMPTY CONSTRUCTOR
2ac5973
verified
6 months ago
01A. Class hierarchies
Safe
2.32 kB
Parent-Ancestor vs Child; super vs sub
6 months ago
01B Inheritance relationships
Safe
572 Bytes
Create 01B Inheritance relationships
6 months ago
02A Inheritance in Java
Safe
1.44 kB
class SubClass1 extends ParentClass { }
6 months ago
02B. Boat's inheritors
Safe
1.26 kB
Create 02B. Boat's inheritors
6 months ago
03A. Adding features to child class
Safe
4.61 kB
setParentAttribute(value1) OR super(value1, ...)
6 months ago
03B. Thesis inherits book
Safe
2.89 kB
Create 03B. Thesis inherits book
6 months ago
04. James' video calls
Safe
4.07 kB
Create 04. James' video calls
6 months ago
05A. Encapsulation and inheriting [++Attribute's 4 visibility levels]
Safe
3.08 kB
public, protected, no set level, private
6 months ago
05B. Modifiable point
Safe
1.95 kB
super(x,y);
6 months ago
06. Class gradebook
Safe
2.37 kB
this.attr1 = new ArrayList<Class1>();
6 months ago
07A. Overwrite and override [Overwrite - METHOD, PARAMS]
Safe
1.5 kB
Overwrite - METHOD, PARAMS
6 months ago
07B. Corresponding methods
Safe
611 Bytes
Create 07B. Corresponding methods
6 months ago
08. Write class SpecialDirector
Safe
2.75 kB
Create 08. Write class SpecialDirector
6 months ago
09A. Calling parent class methods [ENCAPSULATION]
Safe
2.23 kB
child class method overwrites parent class method
6 months ago
09B. Organic version of a shopping list
Safe
4.6 kB
String var1 = super.method1();
6 months ago
10A. OVERLOADING AND OVERRIDING methods [= same method, multiple param nums AND dtypes]++
Safe
3.27 kB
same method, multiple param nums AND dtypes
6 months ago
11A. About parent class constructor++
Safe
4.18 kB
MULTIPLE CONSTRUCTORS, EMPTY CONSTRUCTOR
6 months ago