Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.17 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.17 KB

cs61b-java-inheritance

A series of examples and explanations to understand Java method and field inheritance.

Run locally

cd ~
git clone https://github.com/azidar/cs61b-java-inheritance.git
cd cs61b-java-inheritance
ls

Go through examples, either via this website or Intellij (if you want to run examples)

  1. Instance Methods (instanceMethods)
  2. Static Methods (staticMethods)
  3. Fields (fields)
  4. Fields with Constructor Convention (fieldsConstructor)

To open project with Intellij....

You can follow the lab instructions, but generally:

  1. Open Intellij
  2. Select Create New Project from Existing Sources
  3. Select the folder cs61b-java-inheritance
  4. Make sure you select the Java SDK.

THERE IS NO NEED TO IMPORT ANY LIBRARIES

Email me if you have questions! Adam