What is casting?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Answer / 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 |
Answer / sandeep sagala
casting is the process that allows lower data type to hold the
data of higher data type and also the higher data type to
hold the lower data type only by using reference
Is This Answer Correct ? | 0 Yes | 0 No |
What is a boolean in java?
What is Session and cookies?Explain in detail with an example?
How hashmap works in java?
How do you write a good declaration?
where singleton classes are used in j2ee web application.can we use it for connection pooling.
What are the main uses of the super keyword?
Give the difference between the println method and sqrt method?
Accenture NJ mostly ask question on Collection like 1)How to sort Objcts and how treeset sort them 2)Explain mechanism of Hashcode finding in Java 3)Name some of the Sorted collection.
What are scriptlets?
How do you make a thread in java?
Name the methods in mouse listeners ?
what is the difference between pagecontext and servletcontext?