Scanner Class in Java | User Input in Java | Java Complete Course Lesson 19

Publicado em: 12 Julho 2026
no canal de: CodeDiaries
5
1

☕ Java Complete Course | Lesson 19

Welcome to Lesson 19 of the Java Complete Course!

In this video, you'll learn how to take user input in Java using the Scanner Class with simple explanations and practical coding examples.

📚 Topics Covered:
✅ Why do we need Scanner Class?
✅ What is Scanner Class?
✅ What is a Package?
✅ import java.util.Scanner
✅ Scanner Object Creation
✅ new Scanner(System.in)
✅ nextInt()
✅ next()
✅ Taking User Input in Java
✅ Practical Coding Examples

💻 Programs Covered:
✔ Input Integer
✔ Input Two Numbers & Find Sum
✔ Input Name Using Scanner

📝 Homework

Question 1:
Write a program to input your Name and Age, then display them.

Question 2:
Write a program to input Length and Breadth, then calculate the area of a rectangle.

📚 Java Complete Course Playlist:
👉    • Java Complete Course in Hindi | Beginner t...  

📌 Previous Lecture:
Method Overloading in Java

📌 Next Lecture:
next() vs nextLine() in Java | Scanner Class Methods

👍 If you found this video helpful:
❤️ Like the video
💬 Comment "Done" after completing the homework
📤 Share it with your friends
🔔 Subscribe to Code Diaries for more Java tutorials.

#java
#javaprogramming
#scannerclass
#userinput
#javacourse
#javaforbeginners
#coding
#learnjava
#programming
#codediaries


Nesta página do site você pode assistir ao vídeo on-line Scanner Class in Java | User Input in Java | Java Complete Course Lesson 19 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário CodeDiaries 12 Julho 2026, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 5 vezes e gostou 1 espectadores. Boa visualização!