Question: Consider the following statement: int x = SomeClass.doSome ( AnotherClass.doAnother ( ) , 5 ) ) ; Now, select ALL correct options as the return
Consider the following statement:
int SomeClass.doSome AnotherClass.doAnother;
Now, select ALL correct options as the return type of doSome and
doAnother:
return type of doSome: int, return type of doAnother: int
return type of doSome: void, return type of doAnother: void
return type of doSome: void, return type of doAnother: int
return type of doSome: int, return type of doAnother: void
return type of doSome: string, return type of doAnother: int
return type of doSome: int, return type of doAnother: float
none of the other options
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
