Guys, let's let him do his own homework next time: please see
DoYourOwnHomework and
NotACodeMill.
Instead, provide hints, like "What type does the method expect?" and "What type is an uncast numeric literal?" with links to the relevant documentation does (at least) two things: highlights what the problem is (without giving an answer) and stimulates the
Java thought process--and that's what we're all about.
Thanks!