Answer Posted / ravikiran(aptech mumbai)
yes
double d=22.55;
byte b=(byte)d;
| Is This Answer Correct ? | 34 Yes | 2 No |
Post New Answer View All Answers
What is the purpose of checked and unchecked exceptions in JAVA?
Can classes declared using the abstract keyword cab be instantiated?
If we don’t want some of the fields not to serialize how to do that?
Can you use this() and super() both in a constructor?
Can an integer be null java?
Can It is possible to synchronize the constructor of a Java Class?
what is the difference between yielding and sleeping? : Java thread
Can we override static methods in java?
Why do we override tostring method in java?
How to sort an unsorted array in java?
Tell me are there implementations for sorting and searching in the java libarary?
Describe method overriding
Can we have any code between try and finally blocks?
What is the differences between heap and stack memory in java? Explain
What is an inner class in java?