Defining Characters
- Introduction
- Defining
- .charAt()
Introduction to Characters
In this lesson, we will explore the fundamental concepts of characters in Java.
In Java, characters are a fundamental data type used to store individual text characters. In summary, it is just one character (can be from a string). This lesson will cover how to define and use characters in Java.
In Java, the char data type is used to store a single character. The char type is a 16-bit Unicode character. Unicode is a standard for encoding characters from virtually all written languages.