Page 1 of 1

Consider the following code. Which 2 methods are considered overloading (indicated by output)? class x { public void dis

Posted: Fri Apr 29, 2022 7:12 am
by answerhappygod
Consider The Following Code Which 2 Methods Are Considered Overloading Indicated By Output Class X Public Void Dis 1
Consider The Following Code Which 2 Methods Are Considered Overloading Indicated By Output Class X Public Void Dis 1 (75.21 KiB) Viewed 24 times
Consider the following code. Which 2 methods are considered overloading (indicated by output)? class x { public void display(int a) Console.WriteLine("display1"); ] public void display(double b) Console.WriteLine("display2"); 1 class yox 1 public void display(int a) Console.WriteLine("display3"); 1 public void display(string b) Console.WriteLine("display4"); ] display1 and display2 display1 and display3 O display1 and display4 display2 and display4