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 static block?
What is local class in java?
What is the disadvantage of synchronization?
What is the maximum size of byte array in java?
Explain the importance of finally over return statement?
Can we override private method?
What do you mean by order of precedence and associativity?
What is difference between static and final?
What's the base class of all exception classes?
What is the difference between abstract classes and interfaces?
What is array initialization in java?
What are the types of java languages?
Explain the scope or life time of class variables or static variables?
How do you check if a number is a perfect square?
What is the main advantage of passing argument by reference?