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...

int a=10,b=20,c=30 a= b+c;b=a+c;c=a+b;
System.out.println("The value is"+a+b+c;

Answer Posted / manju

(I tried this pgm)
It will give compilation error(like insert ') ' )
if u insert that bracket and then run ,the answer will be
102030.(bcz its treated only as strings)

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are arrays classes in java?

1011


Can we pass a primitive type by reference in java? How

887


Can a class have an interface?

968


Is singleton thread safe in java?

953


What is double word?

954


Differentiate between class and structure.

1103


Give reasons supporting that string is immutable.

929


Can a final variable be manipulated in java?

961


What are the steps that are followed when two computers connect through tcp?

973


Does hashset allow duplicates in java?

1095


Can we use string in the switch case?

1019


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

1048


Is there any tag in htm to upload and download files?

1035


Explain different types of wrapper classes in java?

997


How many bits is a string in java?

1007