Consider the following code. Which 2 methods are considered overloading (indicated by output)? class x { public void dis
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider the following code. Which 2 methods are considered overloading (indicated by output)? class x { public void dis
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!