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 / chaitanyaelluru
Yes,It is possibel through casting.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of default constructor?
Give the difference between the println method and sqrt method?
What is an empirical question?
When is finally block not called?
When should I use a singleton?
define polymorphism in java
What is the final field modifier?
What is keyword auto for?
what do you mean by java annotations?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What is a methodologist?
Can we have a method name same as class name in java?
Which java collection does not allow null?
Is it necessary that each try block must be followed by a catch block?
Explain different ways of creating a thread. Which one would you prefer and why?