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

How we can multiple submit buttons in ASP.Net MVC

1080


Asp.net mvc application, makes use of settings at 2 places for routing to work correctly. What are these 2 places?

1110


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

936


Describe the gac in the .net framework.

968


What is the .net framework and how does it work?

913


How do I install .net framework?

903


In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?

1026


will there be any issues adding a table without primary keys to a data model?

1008


i want to take the fast track training on >net Frame work and work flows and share point could you tellme the good institutes for that cources

1957


What is .net framework used for?

964


What is iobjectset? : Entity framework

960


How do you specify comments using razor syntax?

965


how do you mark a property as required? For example, for a project, the name is a required field.

1001


What is razor code?

1023


What are the 2 popular asp.net mvc view engines?

970