Create your account

Already have an account? Login here

Note: By joining, you will receive periodic emails from Coursetro. You can unsubscribe from these emails.

Create account

12. Typecasting Example

Getting Started with Java

Woah, wait a second..

This is a 100% free course, but we need you to first join or login to watch this video.

Alright, join or login here.

This video shows you how to perform typecasting in Java. There are two types of type conversion in Java known as explicit typecasting and implicit typecasting. Implicit typecasting is when you try to fit a smaller number inside a bigger data type whereas explicit typecasting is where you add the cast operator to acknowledge the fact that you are ready to lose data while trying to store a larger number inside a smaller data type.

Course Cirriculum