---
title: "Discussion on \"Java Strings\" | Hashnode"
description: "Discussion on \"Java Strings\". The String is a collection of characters that will be enclosed by \" \" .\nMainly the strings help to store the text information.\n//syntax for java strings\nString name = \"Smart Cookie\";\n\nHere the name is a variable which is of string type that contains ..."
url: "https://hashnode.com/posts/java-strings/63a1714988beb121ad6f4fc5"
---

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

Discussion

# [Java Strings](https://smartcookie.hashnode.dev/java-strings?utm_source=hashnode&utm_medium=feed)

The String is a collection of characters that will be enclosed by " " . Mainly the strings help to store the text information. //syntax for java strings String name = "Smart Cookie"; Here the name is a variable which is of string type that contains ...

Dec 20, 2022 · 2 min read · smartcookie.hashnode.dev  
Read the article

-   [#java-strings](https://hashnode.com/tag/java-strings)
-   [#java](https://hashnode.com/tag/java)
-   [#java-beginner](https://hashnode.com/tag/java-beginner)
-   [#java-programming](https://hashnode.com/tag/java-programming)
-   [#smart-cookie](https://hashnode.com/tag/smart-cookie)

## Written by

[Madhu Palle](https://hashnode.com/@smartcookie)

@smartcookie · INDIA

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

Go with the flow

IIIT - N Software Geek. Startup Enthusiast. Build for the Future.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
