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
Explain the concept of hashtables?
What is java util list?
Explain java coding standards for methods?
Explain some best practices you would apply while using collection in java?
What are the differences between throw and throws?
What is the difference between import java.util.date and java .util?
How can the checkbox class be used to create a radio button?
What do you mean by an object in java?
How does indexof work?
What is map java?
Can we declare a static variable inside a method?
How do you pass by reference?
How to pass arraylist to stored procedure in java?
Are true and false keywords?
How are observer and observable used in java programming?