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 |
why static class in java or what is use of static class in java
What is better - 'bit-shift a value' or 'multiply by 2'?
Explain the difference between transient and volatile in java?
Is null a value?
What happens when heap memory is full?
java can provide security ,how can provide?
8 Answers Aspire, BNP Paribas, Genpact, IBM,
what is the difference between static class and singleton class? can we create static class?
2 Answers L&T, Octazen, Vamsi Labs,
What does function identity () do?
How do you define a variable?
what is the difference between ArrayList and Vector
19 Answers KPIT, Sasken, Satyam, Span Infotech, Wipro,
Difference between Primary key and unique key?
What is the order of method invocation in an Applet?