Answer Posted / niranjanravi
casting is used to convert the value of one data type to
another.We have 2 different types of castings.
1.Casting between primitive numeric data types
2.Casting between object references.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why 1 is not a prime number?
What's the base class of all exception classes?
Why can we not override static method?
Write a function for palindrome and factorial and explain?
Differentiate between class and structure.
What does a method signature consist of?
Can we make main() thread as daemon?
What do you understand by abstract classes?
What is a values collection view ?
What is the purpose of tostring() method in java?
What is illegal identifier in java?
Why is a singleton bad?
Explain, java is compatible with all servers but not all browsers?
What is a marker interface?
Is an object null?