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 difference between length and length() method in java ?
What are the different types of java?
What is java life cycle?
What is stack class in java?
Have you ever used hashtable and dictionary?
What are the different ways of implementing thread? Which one is more advantageous?
What is linked hashmap and its features?
What is the difference between throw and throws in java?
What is pangram in java?
What is a treemap in java?
How do you calculate square roots?
What is string data?
What is the use of static class?
What are the data types supported by java?
Why does java have two ways to create child threads?