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
How do you detect memory leaks?
What is a null check?
Explain about assignment statement?
Why do I need to declare the type of a variable in java?
What does exclamation mean in java?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
Do we have pointers in java?
Can a constructor be private and how are this() and super() method used with constructor?
Can a function return a function?
What is an immutable class? How to create an immutable class?
What is the generic function?
What are the characteristics of java?
Can we declare a static variable inside a method?
How many bytes is a string in java?
What is the list interface in java programming?