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

Pubblicato il: 12 luglio 2026
sul canale di: 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


In questa pagina del sito puoi guardare il video online Scanner Class in Java | User Input in Java | Java Complete Course Lesson 19 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CodeDiaries 12 luglio 2026, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 5 volte e gli è piaciuto 1 spettatori. Buona visione!