---
title: "Discussion on \"Java from scratch: Variables & Datatypes\" | Hashnode"
description: "Discussion on \"Java from scratch: Variables & Datatypes\". Data Types\n\n\n\n\ntypeSizeRangeDefault\n\n\n\nbyte1-128 to 1270\n\nshort2-32768 to 327670\n\nint4-2147483648 to -21474836470\n\nlong8-0\n\nfloat4+_ 1.4E-45 to +_ 3.4E+38o.of\n\ndouble8+_ 439E-324 to +_ 1.7E+308ood\n\nchar20 to 65535\\40000\n\nboolean?true/falsefalse\n\n\n\nDa..."
url: "https://hashnode.com/posts/java-from-scratch-variables-datatypes/668a415daa8474e04f7f9809"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Java from scratch: Variables & Datatypes](https://blog.kubekode.io/java-from-scratch-variables-datatypes?utm_source=hashnode&utm_medium=feed)

Data Types typeSizeRangeDefault byte1-128 to 1270 short2-32768 to 327670 int4-2147483648 to -21474836470 long8-0 float4+\_ 1.4E-45 to +\_ 3.4E+38o.of double8+\_ 439E-324 to +\_ 1.7E+308ood char20 to 65535\\40000 boolean?true/falsefalse Da...

Jul 7, 2024 · 5 min read · blog.kubekode.io  
Read the article

-   [#java](https://hashnode.com/tag/java)

## Written by

[Tushar Rajpoot](https://hashnode.com/@tushtr)

@tushtr · India

  
[View profile](https://hashnode.com/@tushtr)

DevOps Engineer @ Amazon | Backend Dev | AWS Community Builder

Hello! My name is Tushar and I'm a passionate Developer from India with a strong interest in Cloud-Native technologies. I mostly work on backend development, automating and optimizing critical deployments using various development and Cloud-Native technologies.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
