MakeArr.java - import java.util public class MakeArr cfw public static void main(String]args cfw Scanner in = new Scanner(System.in

MakeArr.java - import java.util public class MakeArr cfw...

This preview shows page 1 out of 1 page.

import java.util.*; public class MakeArr { public static void main(String[]args) { Scanner in = new Scanner(System.in); System.out.println("Enter max values in array"); int max = in.nextInt(); int[] arr = new int[max];
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Fall '14
  • new Scanner, new int, int max

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes