Category: Lessons

  • float

    A float represents decimal (floating-point) numbers in Java This makes float useful when you need decimal numbers but want to save memory. Declaring and using…

    Read more: float
  • double

    A double is a Java data type used to store decimal (floating-point) numbers. Memory size and range A double uses 64 bits (8 bytes) of…

    Read more: double
  • short

    A short is a primitive data type in Java used to store whole numbers (integers). Examples: Java has four integer primitive types: short is typically…

    Read more: short

This site builds beginner confidence through fundamental coding concepts and regular practice. Java is the primary language, but the techniques apply across all programming languages.

Learn. Practice. Master

Categories