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
Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?
List out few different return types of a controller action method?
What is renderbody?
Can you use Razor code in Javascript in ASP.Net MVC?
Can you explain renderbody and renderpage in asp.net mvc?
What is separation of concerns in asp.net mvc?
What is rxjava used for?
What are the advantages of asp.net mvc?
What is an asynchronous controller in asp.net mvc?
What is entitytypes? : Entity framework
Can I add mvc testcases in visual studio express?
What are the main features of asp.net mvc 4 used by asp.net web api?
What is the difference between viewbag and viewdata in mvc?
What is the version number for the next version of the .net framework, codenamed �orcas�?
Mention what is the difference between “ActionResult” and “ViewResult” ?