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 |
A class can be a subclass of itself?
Explain java heap space and garbage collection?
Explain about procedural programming language or structured programming language and its features?
When to use runnable interface vs thread class in java?
What is the difference between stringbuffer and stringbuilder class?
What about instanceof operator in java?
what are three ways in which a thread can enter the waiting state? : Java thread
How use .contains in java?
Can any one say how will sort map objects in java?
Which types of exceptions are caught at compile time?
what is mean by method signature?
what is an object class?Explain its methods?