|| Java with Selenium || Lecture-12 || Scanner Class In Java || Automation testing || Java

Pubblicato il: 13 gennaio 2025
sul canale di: Roy Classes
41
1

|| 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


In questa pagina del sito puoi guardare il video online || Java with Selenium || Lecture-12 || Scanner Class In Java || Automation testing || Java della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Roy Classes 13 gennaio 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 41 volte e gli è piaciuto 1 spettatori. Buona visione!