Del-Norte-Farmers-Iowa-Hawkeyes-Fanclub / IHF-Frontend

Blogs and Issues for project Planning
https://del-norte-farmers-iowa-hawkeyes-fanclub.github.io/Del-Norte-Association-of-Sustainable-Farmers-Saftey-OSHA-and-Fantasy-Log-Book/
Apache License 2.0
0 stars 0 forks source link

Pass By Value vs. Pass By Reference #7

Open h4seeb-cmd opened 8 months ago

h4seeb-cmd commented 8 months ago

Lesson Link:

Here

wget link: https://raw.githubusercontent.com/Del-Norte-Farmers-Iowa-Hawkeyes-Fanclub/Del-Norte-Association-of-Sustainable-Farmers-Saftey-OSHA-and-Fantasy-Log-Book/main/_notebooks/2024-03-12-ValueReferenceTypes.ipynb

Hacks:

a) Answer the following questions based on the code above:

b) Make your own class (hopefully related to your project!). It should have getters and setter for reference types, and show your understanding of value types. Have a method that modifies a value type outside of a method, and a method that takes in an array and makes changes to that array only inside the method. Find the memory address of your object. Finish any popcorn hacks.