logotransparent.png

Legion of Learners

www.lol-101.com

  • Home

  • Classrooms

  • Courses

  • About Us

    • Executive Team
    • Board Members
  • Resources

  • More

    Use tab to navigate through the menu items.
    To see this working, head to your live site.
    • Categories
    • All Posts
    • My Posts
    sfolax6776
    Jun 27, 2019
      ·  Edited: Jun 11, 2021

    6.8 How to copy arrays?

    in Introduction to Java

    A. Introduction

    Let's say you have 300 student heights of last year, not you need to update this year's heights. You might want to save last year's heights by copying the array. What's the easiest way to copy?

    In addition to maximum and minimum, you might want to sort all the heights sometimes. How to sort an array?

    B. Watch... (Slides )

    C. Now, can you make a copy of the heights array in 6.4, call it copyHeights

    0 comments
    0
    0 comments

    Questions? Email us at legionoflearners@gmail.com or join our WeChat group!

    • lol-101dotcom

    ©2020 Legion of Learners