What is casting?

Answer Posted / sarojlaxmi

Casting is the process of converting one primitive data
type to another primitive datatype that is called casting.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is object slice?

1760


What do heavy weight components mean in java programming?

707


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

789


What is the use of math abs in java?

734


What is floor math?

682


What kind of variables can a class consist?

781


What are the advantages of encapsulation in java?

735


How to display all the prime numbers between 1 and 100

702


Explain spliterator in java8?

779


What is a key in java?

703


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

746


What is gc()?

742


What all access modifiers are allowed for top class ?

939


Can set contain duplicates?

759


What is java oops?

766