Multiple Choice
Suppose method1 is declared as void method1 ( int a,float b )
Which of the following methods correctly overloads method1?
A) void method2 ( int a,float b ) .
B) void method2 ( float a,int b ) .
C) void method1 ( float a,int b ) .
D) void method1 ( int b,float a ) .
Correct Answer:

Verified
Correct Answer:
Verified
Q2: Variables should be declared as fields only
Q5: Which statement is not true.<br>A)The Java API
Q6: The java.text package contains classes for manipulating
Q7: An enumeration is a special class that's
Q9: Method calls cannot be distinguished by _.<br>A)
Q11: Which statement below could be used to
Q18: Overloaded methods always have the same _.<br>A)
Q18: If more method calls occur than can
Q24: The identifiers in an enumeration _.<br>A)must be
Q25: A Java class can have which of