iiaport java.util.Sconncr;
.i] zad7.java [/] zad6java [j] zad8.java [/) zad9.java [/j 7ad10.java •zaa12.java 23
Public class zodl? {
Public Static void nain(Stringn drgs) {
Scanner sc - new Scanner(System.in);
String possword; do{
System.out.printlnCPodaj hasto"); password - sc.next();
}j¥hU/!(PQss»»ord. )
O cquals(Objoct anObjoct): ooolean - String 3%
• conta'rs(CharSequerce s): booloan String
>
• contentEquals(Ch.-irSequence cs): booloan S*t
• contentEquals(StringBuffpr sb) • ooolean Sr
• endsW th(String suffix): booloan - Sr r.g
• OQualslgnoreCasc(String anolhorString): boolei
• sEmptyO: booloan Sti t g
0 matches(Stnng rogex). bootean String
• rogionMatchos(int toffset, String othor, int ooffs
• region Matchosjoocean ignoreCaso, int toffset, a «t.->rfcW‘rniqłr nn r.rofi»t nnnio.tn <!Tnn
□ Proo c-ms > Javaooc . Decaration Q Consolo 23
► AJI » Activato... (?)
5^ Outtine 23
□
B
<tormirated> zad12 [Javo App ication] /Library/Java/JavaVirtua Machincs/jdkl 8.0_77.jdfcyContents/Homo/binfiava (24 maj 20*>6, 10:17:18) Exccption in Ihrcod "moin" Podaj poprawne hasło
at zodl2.mo\n(zodl2.iovo;8)
Writable
Smart Insert
10:25
_