String to Char Array Java Tutorial

Photo by Alex Alvarez on Unsplash.

In this article, we’ll look at how to convert a string to an array of characters in Java. I’ll also briefly explain to you what strings, characters, and arrays are.

What is a Character in Java?

Characters are primitive datatypes. A character is a single character enclosed inside single quotation marks. It can be a letter, a digit, a punctuation mark, a space…




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

GSoC 2020 — CERN HSF — Framework for Automating the Retrieval and Analysis of System Information…

Starting Development in Neo4j

Building Your BIM Standards: Essential Elements for Revit Workflows

Waiting for a miracle: The most important thing you should learn in your life

what i have been waiting for has come !

Docker and ASP.NET Core. The Evangelization Guide

NGINX : Starter

AgentFramework for .NET joins Hyperledger Aries

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Thanoshan MV

Thanoshan MV

More from Medium

Java Naming Conventions

How to Fix If Java inheritance is not working

Need for Abstract Classes and Interfaces in JAVA.

Design Pattern- using Java