What is casting?

Answer Posted / sandeep

casting is technique by which we can solve widening problems
casting is two type
1. implicit type casting
2. explicit type casting

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an immutable object? How do you create one in java?

610


Why java does not support pointers?

570


Can variables be used in java without initialization?

558


What is meant by vector class, dictionary class, hash table class, and property class?

691


2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?

1843






What is methods in java?

528


Can finally block be used without a catch?

552


Explain the different forms of polymorphism?

575


What are mutable classes?

529


What do you mean by buffering?

563


Can we increase size of array?

586


Why stringbuilder is not thread safe?

555


Can we sort array in java?

536


How can we create an immutable class in java?

591


What is a private class in java?

514