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
Q22: An overloaded method is one that _.
A)has
Q24: Overloaded methods always have the same _.
A)
Q26: Which statement below could be used to
Q27: Identifiers in Java have _ and _
Q27: Which statement below could be used to
Q31: Which of the following methods are overloaded
Q34: Which statement is not true.
A)The Java API
Q35: Method calls cannot be distinguished by _.
A)
Q35: Which of the following is not a
Q39: A Java class can have which of
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents