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

Yes,It is possibel through casting.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we write any code after throw statement?

612


What are the access modifiers in java?

591


What advantage do java's layout managers provide over traditional windowing systems?

550


What do negative exponents mean?

552


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

658






How do you check if two given string are anagrams?

555


What is java in layman terms?

531


What are benefits of java?

562


What is a classloader in java?

538


How many bits is a string?

526


Can a serialized object be transferred via network?

519


Is string is a data type in java?

593


Why javac is not recognized?

527


How many static init can you have?

685


What is yield () in java?

484