Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Spaces:
KaiquanMah
/
TurkuBasicOOPinJava
Running

App Files Files Community
TurkuBasicOOPinJava / Week 4: Writing classes
15.2 kB
  • 1 contributor
History: 10 commits
KaiquanMah's picture
KaiquanMah
public className(dtype1 param1, ...) {...}
02c40fa verified 5 months ago
  • 01a Class and object
    1.78 kB
    CONSTRUCTOR 5 months ago
  • 01b. Three objects [FROM CLASS CREATE OBJECTS]
    1.54 kB
    ClassName variableName = new ClassName("str1", "str2", int3); 5 months ago
  • 02A Objects' methods
    1.08 kB
    Create 02A Objects' methods 5 months ago
  • 02B. Set the clocks to the correct time
    1.99 kB
    Create 02B. Set the clocks to the correct time 5 months ago
  • 03A Writing a class: file contents
    2.55 kB
    class, constructor 5 months ago
  • 03B. Match attributes and classes
    354 Bytes
    Create 03B. Match attributes and classes 5 months ago
  • 04. Define attributes
    1.45 kB
    Create 04. Define attributes 5 months ago
  • 05. Define attributes 2
    1.63 kB
    ArrayList<String> 5 months ago
  • 06a. Keyword this
    1.43 kB
    this.<attributeName> = paramName; 5 months ago
  • 06b. Write the constructor
    1.43 kB
    public className(dtype1 param1, ...) {...} 5 months ago