> Java Computer Programming Questions HELP APPRECIATED!?

Java Computer Programming Questions HELP APPRECIATED!?

Posted at: 2014-12-18 
void

int result = max(5,3);

3. Why weren't you able to answer these questions yourself?

-- I'm not in a class, I just found these questions on a piece of paper on the sidewalk

-- I cut and pasted the questions, but I'm not actually able to read.

-- I'm just lazy

-- I'm hungover from a party last night.

1. What is the return type of a method that does not return a value? (null, void, zero, or int)

2. If max is a static method that is being called from the main method, which calls max, passes in two values, and assigns the returned value to an int?

- int result = max();

- int max(5,3);

- int max(5,3) = result;

- int result = max(5,3);