void methods
int/double return
array return
boolean return
100


100

100

Why did the programmer quit his job?

Because he didn't get arrays!

100

200

200

200

Write a method firstLast that takes a given array of ints with at least one value and returns an array consisting of the first and last element of the given array.

200

300

300

300

300

400

400

400

400

M
e
n
u