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 |
Is java jre still free?
What is the difference between multitasking and multithreading in Java
0 Answers Sans Pareil IT Services,
Why non nested classes in java are not having marked as protected access specifier
How do you access command-line arguments within the code?
0 Answers Flextronics, Hexaware,
What is the difference between pass by reference and pass by pointer?
How do you decide when to use arraylist and linkedlist?
Why runnable interface is used in java?
What is the byte range?
What are facelets templates?
State some situations where exceptions may arise in java?
How do you stop a thread in java?
Why Static variable required in java?For ex,class A { static int a; int b; } Why static is required?