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 ++ a in java?
How many types of memory areas are allocated by JVM in java?
Justify your answer that you can't define a method inside another method in java, if you can then how?
What is supplier in java?
What are adapter classes?
What is isa relationship?
What is r in java?
How to read and write image from a file ?
What does system out println () do?
Why does my function print none?
What is the maximum length of a url?
Is ruby built on java?
What is matcher in java?
Why java doesn’t support multiple inheritances?
Difference between default and protected access specifiers?