---
title: "Discussion on \"Tutorial: Accepting String Input in Java\" | Hashnode"
description: "Discussion on \"Tutorial: Accepting String Input in Java\". Some Java programs need input from the user. To accept input from the user, use the Scanner class. The Scanner class has methods that accept different types of input. This tutorial describes string input.\nFirst, import the Scanner class at the top of..."
url: "https://hashnode.com/posts/tutorial-accepting-string-input-in-java/618a5c8b468c06249afc4983"
---

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

Discussion

# [Tutorial: Accepting String Input in Java](https://edtorres.hashnode.dev/tutorial-accepting-string-input-in-java?utm_source=hashnode&utm_medium=feed)

Some Java programs need input from the user. To accept input from the user, use the Scanner class. The Scanner class has methods that accept different types of input. This tutorial describes string input. First, import the Scanner class at the top of...

Nov 9, 2021 · 3 min read · edtorres.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)

## Written by

[Edwin Torres](https://hashnode.com/@realEdwinTorres)

@realEdwinTorres · US

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

Writing code for a living

Husband. Father. Software engineer @MITREcorp. Lecturer. Helping you code. The opinions expressed in this blog are my own. #JavaScript #NodeJS #Java #Python

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
