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

Veröffentlicht am: 12 Juli 2026
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Scanner Class in Java | User Input in Java | Java Complete Course Lesson 19 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer CodeDiaries 12 Juli 2026 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!