You have the class SomeClass with several constructors.
class SomeClass {
public SomeClass(int arg1) { }
public SomeClass(int arg1, int arg2) { }
}
Select all correct ways to create an instance of this class.
You have the class SomeClass with several constructors.
class SomeClass {
public SomeClass(int arg1) { }
public SomeClass(int arg1, int arg2) { }
}
Select all correct ways to create an instance of this class.
Create a free account to access the full topic