This topic contains a solution. Click here to go to the answer

Author Question: If a method does not have a return statement, then (Read 37 times)

vicotolentino

  • Hero Member
  • *****
  • Posts: 552
If a method does not have a return statement, then
◦ it will produce a syntax error when compiled
◦ it must be a void method
◦ it can not be called from outside the class that defined the method
◦ it must be defined to be a public method
◦ it must be an int, double, float or String method


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by vicotolentino on Aug 30, 2020

ynlevi

  • Sr. Member
  • ****
  • Posts: 338
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 56% of students answer this correctly




vicotolentino

  • Member
  • Posts: 552
Reply 2 on: Aug 30, 2020
Excellent


covalentbond

  • Member
  • Posts: 336
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

Cancer has been around as long as humankind, but only in the second half of the twentieth century did the number of cancer cases explode.

Did you know?

The first war in which wide-scale use of anesthetics occurred was the Civil War, and 80% of all wounds were in the extremities.

Did you know?

Alzheimer's disease affects only about 10% of people older than 65 years of age. Most forms of decreased mental function and dementia are caused by disuse (letting the mind get lazy).

Did you know?

The oldest recorded age was 122. Madame Jeanne Calment was born in France in 1875 and died in 1997. She was a vegetarian and loved olive oil, port wine, and chocolate.

Did you know?

According to the FDA, adverse drug events harmed or killed approximately 1,200,000 people in the United States in the year 2015.

For a complete list of videos, visit our video library