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 are the steps in the jdbc connection?
What does || mean in vectors?
What are measurable parameters?
What is nested class?
What is the arraylist in java?
Can we create our own wrapper class in java?
What is Java Reflection API? Why it’s so important to have?
How do you get length in java?
What is integer valueof?
What is Java Shutdown Hook?
What is the difference between sop and work instruction?
What is the collection interface?
What is the difference between static and non-static variables in java programming?
What are parsers? Dom vs sax parser.
How do you trim a space in java?