Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
KaiquanMah
/
TurkuBasicOOPinJava
like
0
Running
App
Files
Files
Community
main
TurkuBasicOOPinJava
/
Week 4: Writing classes
73.5 kB
Ctrl+K
Ctrl+K
1 contributor
History:
30 commits
KaiquanMah
Create 18. Football match, part 3: Class Match
d90f885
verified
12 months ago
01a Class and object
1.78 kB
CONSTRUCTOR
about 1 year ago
01b. Three objects [FROM CLASS CREATE OBJECTS]
1.54 kB
ClassName variableName = new ClassName("str1", "str2", int3);
about 1 year ago
02A Objects' methods
1.08 kB
Create 02A Objects' methods
about 1 year ago
02B. Set the clocks to the correct time
1.99 kB
Create 02B. Set the clocks to the correct time
about 1 year ago
03A Writing a class: file contents
2.55 kB
class, constructor
12 months ago
03B. Match attributes and classes
354 Bytes
Create 03B. Match attributes and classes
12 months ago
04. Define attributes
1.45 kB
Create 04. Define attributes
12 months ago
05. Define attributes 2
1.63 kB
ArrayList<String>
12 months ago
06a. Keyword this
1.43 kB
this.<attributeName> = paramName;
12 months ago
06b. Write the constructor
1.43 kB
public className(dtype1 param1, ...) {...}
12 months ago
07. Lottery rounds' attributes and constructor
1.7 kB
int vs ArrayList<Integer>
12 months ago
08a Object's methods AND private ATTRIBUTES
5.2 kB
Create 08a Object's methods AND private ATTRIBUTES
12 months ago
08b. Write get methods
2.46 kB
public dtype getAttrituteName() {...}
12 months ago
09a. Setting Methods
3.04 kB
public void setAttributeName(dtype attributeName) { ...<chk> <set value>... }
12 months ago
09b. Create Storage set methods
4.55 kB
Create 09b. Create Storage set methods
12 months ago
10. Lap times' set and get methods
2.8 kB
param != null
12 months ago
11A Other object methods (beyond get-set)
2.98 kB
11A Other object methods (beyond get-set)
12 months ago
11B. Write class Calculator
1.91 kB
Create 11B. Write class Calculator
12 months ago
12A Object's inside calls
2.16 kB
Create 12A Object's inside calls
12 months ago
12B. Class Letters
5.22 kB
Collections.sort(this.arrayList1)
12 months ago
13A Objects from own classes [i.e. INTERACT w 2 classes OR create COPY of object]
3.9 kB
INTERACT w 2 classes OR create COPY of object
12 months ago
13B. Calculate products together
3.11 kB
ClassName combined = new ClassName(param1, param2)
12 months ago
14A. Objects in data structures
1.18 kB
ArrayList, HashMap
12 months ago
14B. Find the oldest dog
3.05 kB
ArrayList<objClassName>
12 months ago
15A Objects inside objects
2.62 kB
Create 15A Objects inside objects
12 months ago
15B. Write class DiscPlaye
3.49 kB
wrapper class contains 0/1 subclass
12 months ago
16. Football match, part 1: Class Player
2.62 kB
Create 16. Football match, part 1: Class Player
12 months ago
17. Football match, part 2: Class Team
3.32 kB
this.listPlayers = new ArrayList<>();
12 months ago
18. Football match, part 3: Class Match
2.95 kB
Create 18. Football match, part 3: Class Match
12 months ago