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 23 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
:D TYSM


jomama

  • Member
  • Posts: 346
Reply 3 on: Yesterday
Excellent

 

Did you know?

Multiple experimental evidences have confirmed that at the molecular level, cancer is caused by lesions in cellular DNA.

Did you know?

Autoimmune diseases occur when the immune system destroys its own healthy tissues. When this occurs, white blood cells cannot distinguish between pathogens and normal cells.

Did you know?

Every 10 seconds, a person in the United States goes to the emergency room complaining of head pain. About 1.2 million visits are for acute migraine attacks.

Did you know?

People with high total cholesterol have about two times the risk for heart disease as people with ideal levels.

Did you know?

Illness; diuretics; laxative abuse; hot weather; exercise; sweating; caffeine; alcoholic beverages; starvation diets; inadequate carbohydrate consumption; and diets high in protein, salt, or fiber can cause people to become dehydrated.

For a complete list of videos, visit our video library