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

Is namespace same as package in java?

997


What is an interoperable application in java ?

1019


What is the difference between the file and randomaccessfile classes?

1111


Can we clone singleton object?

1078


Explain the Propertie sof class?

1067


What is object-oriented paradigm?

1072


What is a null class?

992


Does java vector allow null?

972


How do you clear an arraylist in java?

995


What is the latest version of java?

1145


How variables are declared?

989


What's the difference between an abstract class and interface in java?

1046


What is a vararg?

1051


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

995


What are the important features of Java 11 release?

1129