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 the purpose of the strictfp keyword?
How do you create immutable object in java?
Can you explain the difference b/n abtract and interface with a good example,?In what cases we have use abtract and what case interface?
What is the collection interface?
Is an integer an object?
what do you mean by marker interface in java?
How to find the size of an array a)array.length() b)array.length c)array.size() d)array.size
What is array pointers ?
Can we serialize static variables in java?
Howmany classes that package java.applet.* contains?
Can an object subclass another object?
tell me some common