[2/13] Java Foundations Certification: Data Types and Variables

Build a strong foundation of knowledge in Java programming! In this lesson we take a look at the different data types and how to use them!

In this free Java Foundations video, we explain some of the fundamental concepts in programming. For example – we will review how to use data types, variables, how variables are stored in the memory, how to convert from one data type to another. 

Each of these topics is explained with many real-life examples and hands-on exercises. As always, we advise you to pause the video right before solving part of a problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video. 

*The exercise descriptions are to be found in the PDF document at the end of this post.

Lesson Topics

This video covers the following topics:

Data Types and Variables

  • What is a data type?, Characteristics, Memory, Conventions, Variable Lifetime, Span and Scope

Integer and Real Number Types

  • Max/Min Values, Size, Overflow, Literals, Scientific Notation, Precision

Type Conversion

  • How to convert from one data type to another?, Explicit and Implicit Conversion

Boolean Type

  • Boolean Data Type – Overview

Character and String Types

  • Overview, Escaping Characters, Formatting Strings

Practical Exercises

Watch the video and solve the problems. To better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.

Submit your code in the SoftUni Judge System:

Exercises: Problem Description

Lesson Slides

Leave a Comment

Recent Posts

About SoftUni

SoftUni provides high-quality education, profession and job to people who want to learn coding.

The SoftUni Global “Learn to Code” Community supports learners with free learning resources, mentorship and community help.

Tags

Categories