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

Explain garbage collection in java?

988


What are the actions that can occur when a thread enters blocked state?

1058


What is the difference between object oriented programming language and object based programming language?

1021


What happens if main method is not static?

1001


what is mena by object block any what is the use of that

2216


What is finalize method?

1132


What is a generic data type?

1046


When should the method invokelater() be used?

1022


Is string is a data type in java?

1075


Where is jre installed?

1050


What is this keyword in java?

1035


What are desktop procedures?

1046


Explain about the main() method in java?

1115


How do you use nextline in java?

982


How many types of methods are there?

1062