You are not logged in.

#1 2015-06-10 10:21:52

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Valid returnType:

Question:
public Class returnData
{

<returnType> getData(byte a, double z)
{
Rreturn (short)a/z * 10;
}

}

What is valid returnType for getData?

Option A):
Double
Option B):
Short
Option C):
Int
Option D):
Byte

Correct Answer is Option A):
Double


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-06-10 10:21:52

Advertisement
Ads By Google

Re: Valid returnType:



Board footer