Rahul Chavan
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)
By Rahul Chavan in ASP.NET on Apr 05 2016
  • Sreenivasan Palaniappan
    Sep, 2017 7

    Class name and function name cannot be identical, hence, will result in compilation error. Either change the class name or function name

    • 1
  • Nani Veerabhadra Karri
    Oct, 2017 19

    5, 10 10, 20

    • 0
  • Rahul Chavan
    Apr, 2016 5

    5, 10 10, 20

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS