Answer Posted / rajesh
Casting can be applied to data types for like narrowing and
widening of primitive data types.
Casting can be applied for objects instantiated from the
inheritance hierarchy but only upward casting.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the argument in java?
What is the major advantage of external iteration over internal iteration?
What is consumer in java?
How we can make copy of a java object?
Can we sort list in java?
What are the main uses of java?
Can memory leak in java?
Difference between predicate, supplier and consumer ?
What is collections framework?
What are the methods available in a class?
Which variables are stored in stack?
What is static keyword in java?
Is treeset sorted in java?
Does java set allow duplicates?
How do you test a method for an exception using junit?