Saved Bookmarks
| 1. |
PART 1: MULTIPLE CHOICE QUESTIONS.EXERCISES1. What is the return type of a method that does not return a value?A. doubleB. intC. floatD. void2. What is the process of defining more than one method in a class differentiated bymethod signature?A. Method Overloading B. Method OverridingC. Defining MethodD. Calling Method3. Which method can be defined only once in a program?A Static MethodB. Main MethodC. Private MethodD. Protected Methodco4. Consider the two methods (within the same class)public static int foo(int a, String s)89 |
|
Answer» Answer: 1-a Explanation: okk 1 - a 2-b 3-c but like and FOLLOW plz |
|