Multiple Choice Question

Quiz Guidelines

 

QID: 
327
Question: 

Note: This question may be considered too advanced for this exam. For what command line arguments will the following program print true?

class TestClass{
    public static void main(String[] args){
        Integer i = Integer.parseInt(args[0]);
        Integer j = i;
        i--;
        i++;
        System.out.println((i==j));
    }
}

Select 3 options

A. 0
B. -1
C. 127 
D. -256 
E. 256 
F. For all the values between 0 and 255 (both included).

Q&A Set: 

Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within javajee.com!!!