menu
Qammunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Write the definition of a method twice, which receives an integer parameter and returns an integer that is twice the value of the parameter .
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Write the definition of a method twice, which receives an integer parameter and returns an integer that is twice the value of the parameter .
asked
Oct 6, 2017
52.0k
views
1
vote
Write the definition of a method twice, which receives an integer parameter and returns an integer that is twice the value of the parameter .
Computers and Technology
high-school
Kazoom
asked
by
Kazoom
7.6k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
6
votes
public static int methodName(int a, int b){
a = a * 2;
b = b * 2;
}
int result = doubling(5, 10
);
System.out.println(result);
//result would be 10, 20
Lokanath Das
answered
Oct 10, 2017
by
Lokanath Das
8.0k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
No related questions found
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.4m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qammunity.org