16
Compito
Java Multithreading, livello 7, lezione 2
Getting rid of labels
Get rid of the labels in the isSubstringPresent method, but preserve its logic.
The method returns true if substring is a substring of string, otherwise false.
The code should not have break and continue statements.
8
Compito
Java Multithreading, livello 7, lezione 2
The required statement
Insert a single statement (not a break statement) to the code in order to display a triangle of S's.