menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Assume that you have written a method with the header void myMethod(string a). This method returns ________. a. nothing b. myMethod c. a string value d. a numeric value
asked
Aug 14, 2019
173k
views
1
vote
Assume that you have written a method with the header void myMethod(string a). This method returns ________.
a. nothing
b. myMethod
c. a string value
d. a numeric value
Computers and Technology
high-school
Denkeni
asked
by
Denkeni
7.8k
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
2
votes
The word before your method name (myMethod) always determines the return type for your method. So in this case, you specified "void", which in Java means, nothing.
The answer is A: Nothing
Chirag Sanghvi
answered
Aug 21, 2019
by
Chirag Sanghvi
7.6k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Nov 27, 2024
90.1k
views
Assume you have written a method with the header void mymethod(num a, string b). Which of the following is a correct method call? A) mymethod(5, "Hello") B) mymethod("Hello", 5) C) mymethod(5) D) mymethod("Hello",
Gelly Ristor
asked
Nov 27, 2024
by
Gelly Ristor
7.8k
points
Computers and Technology
high-school
1
answer
0
votes
90.1k
views
asked
Nov 18, 2018
29.2k
views
Assume you have written a method with the header num mymethod(string name, string code). the method's type is
Saul Uribe
asked
Nov 18, 2018
by
Saul Uribe
8.1k
points
Computers and Technology
college
1
answer
5
votes
29.2k
views
asked
May 10, 2024
206k
views
write a void method named mymethod which prints im a void method! (without the quotes). your method should be declared public and static. you can call your method in the programs main method so you can
Smok
asked
May 10, 2024
by
Smok
8.7k
points
Computers and Technology
college
1
answer
3
votes
206k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
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?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org