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

Variables used in a switch statement can be used with which datatypes?

505


Write code of any action class?

538


What do you know about java?

511


String class is defined under which package in java?

610


State some advantages of java?

703






What are the different types of sorting in java?

525


What is a stringbuilder?

498


What is Session reduplication and how its done?

1556


What is cr keyboard?

640


What is dynamic binding(late binding)?

576


What is the difference between method and means?

564


What do you understand by casting in java language?

566


What is method overloading with type promotion?

570


What is difference between add() and addelement() in vector?

1056


What is the difference between applet and application?

536