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 does indexof mean?
What are internal variables?
What is * argv?
What do you mean by mnemonics?
In how many ways we can the thread? in java
What is canonical name in java?
What is instance synchronization?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
What is extension method in java?
Is string a data type in java?
what is java
What do you mean by hashing?