Skip to content

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

Notifications You must be signed in to change notification settings

azidar/cs61b-java-inheritance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages