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)
3
Answers
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)