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
What is the symbol for line break?
What is the difference between equals() and?
What is the functionality of the stub?
Is vector thread safe in java?
When we serialize an object does the serialization mechanism saves its references too?
Is a string literal?
What is stringreader?
What is module in oop?
What do you understand by Header linked List?
Is it possible to specify multiple jndi names when deploying an ejb?
What does super keyword do?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
What is parsing a string?
What is import java util arraylist?
Is java a utf 8 string?