|| Java with Selenium || Lecture-12 || Scanner Class In Java || Automation testing || Java
#scanner Class:-
The Scanner class is used to get user input, and it is found in the java.util package.
A.INPUT(scanner class)
1.scanner is a pre defined class in java\
2.which is available in java.util package,
3. it is used to get the data from user input
rule
1.if we used scanner class , must have to create object object of scanner class
syntax:-
Scanner object= new Scanner(system.in);
2.scaner class methods
nextLine();=to input string
nextInt();=integer
nextfloat();=float
nextboolean();=true or false
nextdouble();=double
3.import scanner class package at the top line of program
syntax:-import java.util scanner;
4. wrong input(input mismatch exception)
OUTPUT(system.out.print())
----------------------------------
it is an output statement in java through which we can print the variable, expression and many more content
system is a pre defined class which is available in java .lang package
out and in is a static member variable of system class
print()- it is a method which we print in consol output.
#JavaErrorHandling
#ExceptionMastery
#JavaBugsNoMore
#HandleWithJavaCare
#JavaFaultTolerance
#ExceptionalJava
#ErrorFreeJava
#JavaDebugging
#JavaExceptionSolvers
#JavaExceptionalism
#JavaExceptionHandling101
#CodeResilienceJava
#JavaExceptionExperts
#ExceptionGuardianJava
#JavaErrorResolvers
#JavaCodeFaultProof
#JavaTroubleshooters
#ExceptionAwareJava
#JavaErrorFreeZone
#JavaExceptionMindset
#JavaBugBusters
#JavaDefensiveCoding
#ExceptionControlJava
#JavaErrorTerminators
#JavaGracefulFailures
#JavaExceptionalCode
#JavaFaultFixers
#JavaExceptionStrategy
#JavaErrorManagement
#JavaExceptionEradicators
#JavaFailSafeCoding
#ExceptionHandlingHero
#JavaErrorEliminators
#JavaFlawlessCode
#JavaExceptionAlert
#JavaTroubleFreeCoding
#JavaErrorPrevention
#ExceptionAwarenessJava
#JavaCodeRescue
#JavaExceptionVeterans
#JavaDefectDefense
#ExceptionProofJava
#JavaErrorCleansers
#JavaExceptionChampions
#JavaGlitchGuardians
#JavaExceptionShield
#JavaFaultBarrier
#ExceptionSavvyJava
#JavaCodePerfection
#JavaExceptionNinja
Video link:-
#javawithselenium
1. 1st video link: - • ||Java with Selenium || Lecture -1 || Intr... (Intro of java-selenium)
2. 2nd video link:- • || Java With Selenium || Lecture -2 || Sel... (Selection Statement)
3. 3rd video link:- • Java With Selenium || Lecture -3 || Iterat... (Iterative Statement)
4. 4th video link:- • |Java With Selenium || Lecture -4 || Trans... (Transfer Statement)
5. 5th video link:- • Video (1 D Array)
6. 6th video link:- • Java with Selenium || Lecture-6 || Two Dim... (2 D array)
7. 7th video link:- • || Java with Selenium || Lecture - 7 || Op... (Operator in Java)
8. 8th Video Link:- • || Java with Selenium || Lecture-8 || part... (String in java ,part -01)
9. 9th video Link:- • || Java with Selenium || Lecture-9 || part... (String In Java, Part-02)
10.10th video Link:- • || Java with Selenium || Lecture-10 || par... (String in Java Part-3)
11. 11th video Link:- • || Java with Selenium || Lecture-11|| part... (String in java Part-4)
For more details:
Roy Classes
Mob:- 75030080862
On this page of the site you can watch the video online || Java with Selenium || Lecture-12 || Scanner Class In Java || Automation testing || Java with a duration of hours minute second in good quality, which was uploaded by the user Roy Classes 13 January 2025, share the link with friends and acquaintances, this video has already been watched 41 times on youtube and it was liked by 1 viewers. Enjoy your viewing!