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

When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?

1051


What is iobjectset? : Entity framework

1093


What is Separation of Concerns in ASP.NET ASP.Net MVC?

1261


The order of the filters that get executed, if the multiple filters are implemented?

1083


Define the core components of an ASP.NET MVC application?

1157


What is conceptual model? : Entity framework

986


What is the role of the jit compiler in .net framework?

1164


What is layout in mvc?

1069


What is the use of the default route?

1110


What are the difference between asynchronous controller implementation between asp.net mvc 3 & asp.net mvc 4?

1169


What are ajax helpers in mvc?

1025


What is difference between Viewbag and Viewdata in ASP.NET MVC?

1098


what is entity graph in entity framework?

1194


What are the versions of .net framework?

1058


What are the 3 segments of the default route, that is present in an ASP.NET MVC application?

1135