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 / sri4u_926

Defenitly it gives Error bcoz we cannot apply operators for
the type object.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are child actions in ASP.Net MVC?

1111


What are the components required to create a route in ASP.Net MVC?

1112


What is the difference between viewbag and viewdata in mvc?

1015


Does Tempdata hold the data for other request in ASP.Net MVC?

1021


What is .net framework in simple terms?

1064


What are the two ways to add constraints to a route?

1027


What are the sub types of ActionResult?

1203


What is entityset? : Entity framework

1099


explain why t4 entity is important in entity framework?

1083


Does razor engine supports for tdd?

1219


Can you use Razor code in Javascript in ASP.Net MVC?

1250


Is .net framework 4.8 the last version?

1090


What is entitytype? : Entity framework

1028


What does a viewmodel do?

1138


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

1119