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 nested class?
what state does a thread enter when it terminates its processing? : Java thread
How many arguments can a method have java?
What is a variable simple definition?
Why are global variables used?
What is stop(), suspend(), resume() method?
What is the difference between Synchronizing mehtod & Synchronizing block?
Which of the classes will have more memory allocated?
What is string subsequence method?
Can we modify the throws clause of the superclass method while overriding it in the subclass?
What will be the default values of all the elements of an array defined as an instance variable?
Is map sorted in java?