Ask your own question, for FREE!
Mathematics 22 Online
OpenStudy (anonymous):

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.

OpenStudy (anonymous):

@jim_thompson5910

OpenStudy (anonymous):

This belongs in programming...

OpenStudy (anonymous):

There is no programming category. and it is math actually.

OpenStudy (anonymous):

There is computer science

jimthompson5910 (jim_thompson5910):

there's a CS section, yeah

jimthompson5910 (jim_thompson5910):

that choice looks correct though

OpenStudy (anonymous):

meh, it's still mathematics. just in a convoluted language x)

OpenStudy (anonymous):

True true

OpenStudy (anonymous):

ganeshie8....did you...have something to say...?

ganeshie8 (ganeshie8):

public static `int` sum( `int a`, `int b`) first highlight is return value and the stuff inside are inputs(arguments) to the method

OpenStudy (anonymous):

ohhhhh you actually know the language! :D

ganeshie8 (ganeshie8):

and yeah please use CS to ask convoluted math questions :P http://openstudy.com/study#/groups/Computer%20Science

OpenStudy (anonymous):

okay I will x)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!