a) Runtime error
b) Compile time error
c) Code runs successfully
d) First called method is executed successfully
Answer: b
Explanation: In case of such conflict, compiler will not be able to link a method call due to ambiguity. It will throw compile time error.
Related Posts
Which of these constructors is used to create an empty String object?
Which of these method of class String is used to extract a single character from a String object?
Which of this method of class String is used to obtain a length of String object?
Which of these operators can be used to concatenate two or more String objects?
Which of these class is superclass of String and StringBuffer class?
Does Java support multiple level inheritance?
Which of the following is used for implementing inheritance through class?
Join The Discussion