Data input using scanner class
Data input using scanner class: easy ICSE Class 9 Computer Applications notes with Java examples for students.
A scanner class is in java. util package, it is used for accepting the input of the primitive types like int, double, etc. and strings. It is the easiest way to read input in a java program.
To learn more about how to take input refer the given link.
An Exclusive Data Input methods in JAVA
For programs related to scanner class refer the given link
String Program(Convert to palindrome words)
https://youtu.be/GeSDLXhzFig
For programs related to scanner class refer the given link
Niven and perfect number Solved program
Related Posts
Continue learning with these related articles
Sum of First n Natural Numbers in Java (Loop and Formula)
Find the sum of the first n natural numbers in Java with a for loop, a while loop and the formula n(n + 1)/2, with a dry run and the sums of even numbers, odd numbers, squares and cubes.
Prime Number Program in Java: Check a Number and Print Primes in a Range
Check whether a number is prime in Java by counting its factors, a faster square-root method with isPrime(), and a program that prints all prime numbers in a range.

Encapsulation, Access Specifiers and Scope of Variables in Java for ICSE Class 10
ICSE Class 10 Computer Applications notes on encapsulation: private, default, protected and public access, data hiding with getter and setter methods, instance vs static (class) variables, local variables and scope, with a solved BankAccount program.