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

will this code works fine? or will it gives error?

Object obj=5;
int i=6;
i=i+obj;

Answer Posted / somnath nanekar

it will give an error...(we hv to typecast object to int)

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is presentation framework?

1026


What is the benefit of entity framework?

999


What is a model in programming?

1007


Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?

998


How to Redirect Tracing to a File

1060


What is a view engine?

978


which are the key concepts of entity data model?

1098


What are HTML Helpers, AJAX Helpers in ASP.Net MVC?

1051


What is difference between html.beginform and ajax.beginform?

1014


what is scalar property?

1080


Can I add asp.net mvc testcases in visual studio express?

1084


What is storage model? : Entity framework

1012


what is code first approach?

1141


What is the advantage of mvc?

1046


How does .net framework works?

1019