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

What is the static import?

1158


Can we create an object of static class in java?

1061


When do we use synchronized blocks and advantages of using synchronized blocks?

1281


Write a function for palindrome and factorial and explain?

1143


When will you define a method as static?

1145


Can we create our own daemon thread?

1035


Can we override a variable in java?

1073


What is string [] args?

1065


Differentiate between stringbuffer and stringbuilder in java.

1087


What is the access scope of protected access specifier?

1048


What is the main use of generics in java?

1082


What is function overriding and overloading in java?

1176


Is 0 an even number?

1032


What is constant in programming?

1186


Can we execute java program without main method?

1195