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 22 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
Great answer, keep it coming :)


Perkypinki

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

 

Did you know?

The Centers for Disease Control and Prevention (CDC) was originally known as the Communicable Disease Center, which was formed to fight malaria. It was originally headquartered in Atlanta, Georgia, since the Southern states faced the worst threat from malaria.

Did you know?

The highest suicide rate in the United States is among people ages 65 years and older. Almost 15% of people in this age group commit suicide every year.

Did you know?

Opium has influenced much of the world's most popular literature. The following authors were all opium users, of varying degrees: Lewis Carroll, Charles, Dickens, Arthur Conan Doyle, and Oscar Wilde.

Did you know?

The heart is located in the center of the chest, with part of it tipped slightly so that it taps against the left side of the chest.

Did you know?

Asthma is the most common chronic childhood disease in the world. Most children who develop asthma have symptoms before they are 5 years old.

For a complete list of videos, visit our video library