Which of the following shows the header for a method that accepts two int values and returns an int? public static sum(int a, b) public static int sum(int a, b) public static int sum(int a, int b) public static int sum(5, 8) I think the third one is the right one.
@jim_thompson5910
This belongs in programming...
There is no programming category. and it is math actually.
There is computer science
there's a CS section, yeah
that choice looks correct though
meh, it's still mathematics. just in a convoluted language x)
True true
ganeshie8....did you...have something to say...?
public static `int` sum( `int a`, `int b`) first highlight is return value and the stuff inside are inputs(arguments) to the method
ohhhhh you actually know the language! :D
and yeah please use CS to ask convoluted math questions :P http://openstudy.com/study#/groups/Computer%20Science
okay I will x)
Join our real-time social learning platform and learn together with your friends!