Skip to content

Eogar/Doodads

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

In Class exercise

  1. Fork and clone down this respository
  2. Open the Doodads folder in Sublime, or open Doodads.pde in Processing.
  3. Run the program. You should get an error message that says The field Doodad.myNum is not visible because the client code in setup() is trying to access a private member variable.
  4. Fix the program by
  • finishing the two setter and getter functions in Doodad.java
  • rewriting the client code in setup() to use the two setter and getter functions
  1. The finished program should print Sum is 5.859870195388794
  2. Show your teacher the finished program.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Processing 50.7%
  • Java 49.3%