What is casting in Java Programming?
Submitted by: AdministratorThere are two types of casting, casting between primitive numeric types and casting between object references. Casting between numeric types is 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.
Submitted by: Administrator
Submitted by: Administrator
Read Online Java Job Interview Questions And Answers
Top Java Questions
☺ | What are peerless components in Java Programming? |
☺ | Does a class inherit the constructors of its superclass in Java Programming? |
☺ | Which containers use a border layout as their default layout? |
☺ | Which Container method is used to cause a container to be laid out and redisplayed in Java Programming? |
☺ | What is the Locale class in Java Programming? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |