Question: Using Java: Write the header (ONE LINE ONLY!) for the following. (Dont make this too difficult, I do not need the definition of methods) a)
Using Java: Write the header (ONE LINE ONLY!) for the following. (Dont make this too difficult, I do not need the definition of methods)
a) a method named myMethod that returns nothing and does not have any parameters.
b) a method named action that returns the number 100. The method accepts an integer parameter and a String parameter.
c) a method named method1 that returns an array of state capital names. The method accepts a numeric integer value.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
