Quiz2Class2Solutions - 1|Page CSE 110: Principles of...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 | P a g e CSE 110: Principles of Programming with Java School of Computing, Informatics and Decision Systems Engineering, Arizona State University Spring 2010, Quiz 2 10 Points Point, 15 Minutes Student Name: Solutions Major:………………………. .(CS/CSE/Other) ------------------------------------------------------------------------------------------------------------------------------------------ Part I : Each question worth 0.5 points Identify the choice that best completes the statement or answers the question 1. Which of the following lines allows a programmer to use the Scanner class in a Java program? a) import java.util.Scanner; b) using Scanner; c) include Scanner; d) include java.util.Scanner; e) any of the above will allow the programmer to use the Scanner class 2.In order to make a variable a constant which modifier must be included in its declaration? a) public b) final c) static d) void e) private 3. Which of the following operators have the heighest level of operator precedence? a)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/10/2010 for the course MATHEMATIC 242 taught by Professor Heckman during the Spring '10 term at University of Arizona- Tucson.

Page1 / 2

Quiz2Class2Solutions - 1|Page CSE 110: Principles of...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online