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
Is namespace same as package in java?
What is an interoperable application in java ?
What is the difference between the file and randomaccessfile classes?
Can we clone singleton object?
Explain the Propertie sof class?
What is object-oriented paradigm?
What is a null class?
Does java vector allow null?
How do you clear an arraylist in java?
What is the latest version of java?
How variables are declared?
What's the difference between an abstract class and interface in java?
What is a vararg?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
What are the important features of Java 11 release?