Code Wizards

Study the Magic of Programming

  • Java Spells: ArrayList

    August 9, 2019 by

    This tutorial was created with Roy Nunez. To learn the basics of ArrayList check out their tutorial HERE. As a refresher, an ArrayList is like an Array without a set size. Unlike Arrays however, ArrayLists can only consist of Objects and cannot hold primitive data types like ints and booleans. If you want to make… Read more

  • Working the Magic: Interview Questions

    August 8, 2019 by

    Question 1: What’s the value of “nums” after executing the following code? Turns out this is a trick question. Arrays in Java start counting from zero so if you try to access the index of your Array’s length, you’ll try to access an index the Array doesn’t have crashing Java. Question 2: To be Added

View all posts

Follow My Blog

Get new content delivered directly to your inbox.

Design a site like this with WordPress.com
Get started