What is casting?

What is casting?

Hi,

What is casting?

thanks,

View Answers

April 16, 2013 at 4:55 PM

Hi,

There are mainly 2 types of casting in Java programming language. These are casting between primitive numeric types and casting between object references. The Casting between numeric types mostly used to convert larger values, such as double values, to smaller values, such as byte values. Casting between object references is used to refer to an object by a compatible class, interface, or array type reference.

For more details read this article link:

http://www.roseindia.net/java/beginners/TypeCasting.shtml

Thanks,









Related Tutorials/Questions & Answers:
what is bit
what is hibernate.archive.autodetection
Advertisements
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
What is procedure
what is hibernate.archive.autodetection
What is Hibernate
What is Hibernate
What is Hibernate
What is JDBC?
What is FBT
What is ActionServlet?
What is Trigger?
What is VLR ?
What's PHP ?
What is an interface?
What is DML?
What is Index?
What is SQLLoader?
What is a "constraint"?
what is Savepoint ?
What is this keyword?
what is collections?
what are indices?
What is Hibernate
What is Externalizable?
What is the % operator?
What is casting?
What is DataAccessException?
What is IOC ?
What is SQLExceptionTranslator?
What are Struts?
What is WAP?
What is SPOOL?
What is CRM?
What is webservices?
What is Ajax?
What is NSRangeException
What is portal
what is posting?
What is a tuple?
What is workflow
what is RUP?
What was ENIAC
What is an Iterator?
What is WSP?
What is CDPD ?
What is RMS ?

Ads