What will be the output of below code snippet?Class A{ Int a=10; Int b=20;A(int a, int b) { a=a; b=b; Console.write(a, b); Console. Write(this.a, this.b) }Method Call A(5,10)
Rahul Chavan
Class name and function name cannot be identical, hence, will result in compilation error. Either change the class name or function name
5, 10 10, 20