Method Overloading Answers

Method Overloading Answers :-

Answer:- 1

Compiletion Successfully

Answer:- 2

Compiletion Error ( Both Methods have No Parameters )

Answer:- 3

Compiletion Successfully

Answer:- 4

from test(int) from test() from test(double) Done

Answer:- 5

Compiletion Error ( Both Methods have No Parameters )

Answer:- 6

40.0 Done

Answer:- 7

main() 10 10 20

Answer:- 8

Compiletion Error ( Void Type Method called In Print Statement )

Answer:- 9

Compiletion Error ( Ambiguity )