Answer Posted / ravikiran(aptech mumbai)
casting is the process that allows lowerdatatype to hold the
data of higher data type
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are static blocks and static initalizers in java ?
What is unicode used for?
What is type inference in java8?
What is the difference between instanceof and isinstance?
What is string builder in java?
What is the hashcode () and equals () used for?
How do you generate random numbers in java?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
What is a instance variable in java?
Can a class be a super class and a sub-class at the same time? Give example.
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
How does arraylist work in java?
Explain the difference between comparator and comparable in java?
What is meant by 'Class access modifiers'?