Answer Posted / ravikiran(aptech mumbai)
yes
double d=22.55;
byte b=(byte)d;
| Is This Answer Correct ? | 34 Yes | 2 No |
Post New Answer View All Answers
Give me an example of array and linked list? Where they can be used?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
What is a linkedhashmap java?
Explain different ways of creating a thread. Which one would you prefer and why?
What is lifetime variable?
Should database connections be singleton?
Is string is a data type?
Why main method is called first in java?
What is the difference between a local variable and an instance variable?
What is the difference between actual and formal parameters?
Is space a char?
Explain about assignment statement?
Why can't we override private static methods?
When do we use hashset over treeset?
What is passing value java?