Stats

136 Contributors: 2 Monday, July 3, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap
Download eBook

Literals

Download java eBook

Introduction

A Java literal is a syntactic element (i.e. something you find in the source code of a Java program) that represents a value. Examples are 1, 0.333F, false, 'X' and "Hello world\n".

Related Examples