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 73 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


bitingbit

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

 

Did you know?

There are approximately 3 million unintended pregnancies in the United States each year.

Did you know?

All patients with hyperparathyroidism will develop osteoporosis. The parathyroid glands maintain blood calcium within the normal range. All patients with this disease will continue to lose calcium from their bones every day, and there is no way to prevent the development of osteoporosis as a result.

Did you know?

ACTH levels are normally highest in the early morning (between 6 and 8 A.M.) and lowest in the evening (between 6 and 11 P.M.). Therefore, a doctor who suspects abnormal levels looks for low ACTH in the morning and high ACTH in the evening.

Did you know?

The eye muscles are the most active muscles in the whole body. The external muscles that move the eyes are the strongest muscles in the human body for the job they have to do. They are 100 times more powerful than they need to be.

Did you know?

The word drug comes from the Dutch word droog (meaning "dry"). For centuries, most drugs came from dried plants, hence the name.

For a complete list of videos, visit our video library