Users Pricing

forum

Home Forums Can anybody elaborate the difference between “Char” and “String” at Java – MindStick

Can anybody elaborate the difference between “Char” and “String” at Java

Lady Bird Johnson 2377 14 Oct 2013

 I can't understand which is the difference between the variable type "char" and "string". For example, there is a difference between "int" and "short", the bytes at the memory and the area of numbers that they have.

But what is the difference between "char" and "string"? Expect that "char" use (') and "string" (").


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md