Chapter 9

3 Pages
78 Views
Unlock Document

Department
Information Technology Management
Course
ITM 200
Professor
Vikraman Baskaran
Semester
Summer

Description
Chapter 9 Arrays 9.1 Problem An array of integers is effectively a sequence of integer variables, which you can refer to individually by giving their position in the sequence 9.2 Declaring arrays int[] ages = new int[1000]; This code declares an array reference variable called ages, creates an array of 1000 integer variables and assigns the array to the reference variable Reference variable does not contain its associated data but contains a reference to the data (effectively the address where the data is stored in the memory) o For example, int x; x = 5 o X is referring to int that means 5 is an integer value Some more array reference variable declarations o int[]
More Less

Related notes for ITM 200

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit