Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the output???????

public class multireturn
{
public(int assign x ( int x)
{
if(4==x)
{
return 7;
}
else if (7=x+3)
{
return 6;
}
return 5;
}
}

Answer Posted / guest

7 or 5 depending on value of x but never 6

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are advantages and disadvantages of OOPs?

1194


Is string pool garbage collected?

1068


How does thread synchronization occurs inside a monitor?

1181


What is object english?

1113


What is the largest data type in java?

1021


What is a package in java? List down various advantages of packages.

1338


How listener identify that the event came from a particular object?

2052


What is difference between variable declaration and definition?

1012


What are keywords and reserved words in java?

1115


Can we declare main () method as non static?

1036


What are the access modifiers available in java?

1183


Explain different ways of creating a thread?

1114


Is a class an object?

1074


What does split function do in java?

1078


Explain about exception propagation?

1102