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 a boolean output?
Which is faster call by value or call by reference?
Which list does not allow duplicates in java?
Can you explain inner class.
What are the steps in the jdbc connection?
What does jenkins do?
What is contract between hashcode and equal method?
Is array synchronized in java?
What are the four corner stones of oop?
What is a parameter in matrices?
Define how objects are stored in java?
Why singleton pattern is better than creating singleton class with static instance?