Link Search Menu Expand Document

Week 5: Built-In & Custom Methods in Java

This week will cover how to use built-in methods from the String, Math, Integer, & Double classes to do simple tasks. We will also learn how to create custom methods of our own to make our code more organized.

Table of contents
  1. Slides
  2. Zoom Recording
  3. Classwork
  4. Homework
  5. Check-In
  6. Extra Reading

Slides

You can find the link to the slides presentation here.

Zoom Recording

Below is the zoom recording for Week 5.

Classwork

You can find the two classwork exercises we did here. If you want to compare your answers, view the classwork solutions here. You do not have to submit classwork anywhere.

Homework

You can find the homework exercises here. Please submit your java file by Thursday, February 25th to hhrd.compsci@gmail.com.

If you want to compare your answers, view the homework solutions here. You can find the solution to optional problem 2 here.

Check-In

Here is the link to the short quiz.

Extra Reading

If you want to practice what we learned and learn more about Java outside of class, look at the readings below:

  1. Generating Random Numbers
  2. More String Methods
  3. More Math Methods
  4. Methods in Java

Back to top

Copyright © 2019-2021 Helping Hand for Relief & Development.