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

Explain the concept of hashtables?

1142


What is java util list?

963


Explain java coding standards for methods?

1049


Explain some best practices you would apply while using collection in java?

1039


What are the differences between throw and throws?

1074


What is the difference between import java.util.date and java .util?

1057


How can the checkbox class be used to create a radio button?

1040


What do you mean by an object in java?

1133


How does indexof work?

967


What is map java?

982


Can we declare a static variable inside a method?

1004


How do you pass by reference?

1065


How to pass arraylist to stored procedure in java?

1174


Are true and false keywords?

1028


How are observer and observable used in java programming?

1030