CodeHS Glossary You can actually run that code by “calling” the method. The method definition starts with private void followed by the name of the method . At the end of the name, be sure to include the () to complete it. That section is called the “method body.”
How do you write a method in CodeHS?
CodeHS Glossary You can actually run that code by “calling” the method. The method definition starts with private void followed by the name of the method . At the end of the name, be sure to include the () to complete it. That section is called the “method body.”