Ask your own question, for FREE!
Mathematics 18 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!
Latest Questions
Mari103: How to pop out like a Jacc In the box
12 hours ago 0 Replies 0 Medals
Breathless: Spooky witch but cute
19 hours ago 3 Replies 0 Medals
Arriyanalol: help
19 hours ago 10 Replies 2 Medals
Arriyanalol: @tinydinoUwU stop trying to find a argument u blad lil boy
1 day ago 5 Replies 4 Medals
Jaded012023: Please tell me what you all think of this song
22 hours ago 6 Replies 1 Medal
Arriyanalol: bro how
22 hours ago 2 Replies 3 Medals
Arriyanalol: cant wait for the new bluey movie in 2027
1 day ago 12 Replies 2 Medals
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!