Can a double value be cast to a byte?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
yes
double d=22.55;
byte b=(byte)d;
| Is This Answer Correct ? | 34 Yes | 2 No |
What is type inference in java8?
How to print nodes of a Binary tree?
What are the restrictions that are applied to the java static methods?
Can we have two methods in a class with the same name?
Explain JPA in Java.
Does treeset use compareto?
What will be the output of round(3.7) and ceil(3.7)?
What is ph and buffers?
How do you create a reference in java?
What is map java?
Which is easier netbeans or eclipse?
What are synchronized methods ?