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...

long d =10;int i =0;i=d; /// is this possible? If d is very
long number (10 digits or some thing) then?

Answer Posted / vijayakumar chinnasamy

It display compile time error. Cant convert form long to
int. becacuse it -2 32 bit and long is 64bit, so u need to
type case the long value into int value.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ++ a in java?

959


How many types of memory areas are allocated by JVM in java?

1060


Justify your answer that you can't define a method inside another method in java, if you can then how?

1157


What is supplier in java?

994


What are adapter classes?

1031


What is isa relationship?

1027


What is r in java?

1033


How to read and write image from a file ?

1036


What does system out println () do?

993


Why does my function print none?

942


What is the maximum length of a url?

941


Is ruby built on java?

936


What is matcher in java?

971


Why java doesn’t support multiple inheritances?

1017


Difference between default and protected access specifiers?

1101