16
பணி
Java Multithreading, நிலை 7, பாடம் 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
பணி
Java Multithreading, நிலை 7, பாடம் 2
The required statement
Insert a single statement (not a break statement) to the code in order to display a triangle of S's.