Back to Browse

L15: Basic input & output in java (io) | console, scanner & formatted pPrinting

10.9K views
Feb 3, 2025
5:35

Welcome to Lecture 15 of the course "Programming Concepts using Java" by Prof. Madhavan Mukund. Full Course: https://study.iitm.ac.in/ds/course_pages/BSCS2005.html Video Overview This lecture introduces basic input and output (I/O) operations in Java, a key part of interacting with users. We begin with System.out.println for console output and then explore how to read user input using the Console class, including secure input methods such as reading passwords. The lecture then demonstrates the more flexible Scanner class, which can parse input across multiple data types. Finally, we compare the different options for displaying output—print, println, and printf—to show how to format and control console output effectively. About IIT Madras' online Bachelor of Science programme IIT Madras offers four-year BS programmes that aim to provide quality education to all, irrespective of age, educational background, or location. The BS programme has multiple levels, which provide flexibility to students to exit at any of these levels. Depending on the courses completed and credits earned, the learner can receive a Foundation Certificate from IITM CODE (Centre for Outreach and Digital Education), Diploma(s) from IIT Madras, or BSc/BS Degrees from IIT Madras. For more details, Visit: https://www.iitm.ac.in/academics/study-at-iitm/non-campus-bs-programmes #Java #InputOutput #IO #Console #Scanner #SystemOutPrintln #Print #Printf #ReadLine #ReadPassword #Programming #Tutorial #Beginner #JavaTutorial #JavaProgramming #Input #Output #JavaBasics #LearnJava #CSFundamentals #ProgrammingConcepts #JavaForBeginners #UserInput

Download

1 formats

Video Formats

360pmp411.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

L15: Basic input & output in java (io) | console, scanner & formatted pPrinting | NatokHD