Question
The following is probably an example of a _______________.DisplayInstructions( );a. call to a value-returning methodb. call to a void methodc. method headingd. method definitione. call to a method with multiple arguments
Step 1
This is not the case here. A call to a void method is a method that does not return a value and is called just by its name, like "DisplayInstructions();". This seems to match the given example. A method heading is the first line of a method definition, including Show more…
Show all steps
Your feedback will help us improve your experience
Manik Pulyani and 80 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
The method1 method in ClassB is an example of (A) method overloading. (B) method overriding. (C) polymorphism. (D) information hiding. (E) procedural abstraction.
Which of the following is placed in a method heading to indicate that no value will be returned? a. public b. static c. arguments d. void e. return
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD