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
What is an immutable object? How do you create one in java?
Why java does not support pointers?
Can variables be used in java without initialization?
What is meant by vector class, dictionary class, hash table class, and property class?
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?
What is methods in java?
Can finally block be used without a catch?
Explain the different forms of polymorphism?
What are mutable classes?
What do you mean by buffering?
Can we increase size of array?
Why stringbuilder is not thread safe?
Can we sort array in java?
How can we create an immutable class in java?
What is a private class in java?