Question: Visual programming (choose the correct answer) 25 Given the following C# code. Which one of the following statements is correct: 1 class Mainclass { static

Visual programming (choose the correct answer)

Visual programming (choose the correct answer) 25 Given the following C# code.Which one of the following statements is correct: 1 class Mainclass {

25 Given the following C# code. Which one of the following statements is correct: 1 class Mainclass { static void Main() { MaxMinclass m=new MaxMinclass(5,3); Console.WriteLine(m.Min_Num(); } O None of the choices is correct The new keyword creates a new object of the MaxMinClass The new keyword creates a new object of the Main Class The new keyword creates a new method of the MainClass class Mainclass { static void Main() { MaxMinclass m=new MaxMinclass(5,3); Console.WriteLine(m.Min_Num()); } } class MaxMinclass { int a=0; int b=0; public MaxMinclass(int a, int b) { this.a=a; this.b=b; } public int Min_Num( ) { int min=a; if(b

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!