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 the importance of NonActionAttribute?

1110


Explain the difference between Viewbag and Viewdata in ASP.NET MVC?

1080


What is the mvc pattern (model view controller pattern)?

1052


How to change the action name in mvc?

1042


Describe the .net framework architecture.

1113


What is orm entity framework?

1025


What is viewbag title?

988


What is stateless model?

1021


Explain test driven development (tdd) ?

1069


What is iobjectset? : Entity framework

1092


What is entity sql? : Entity framework

1088


In Server how to check whether model has error or not in ASP.Net MVC

1185


What is the benefit of entity framework?

1041


Explain the new features 3.5 framework against with the tool?

1004


What is namespace of asp.net mvc?

1181