An assortment of some java code examples
Solution.java shows how to take 2 lines from scanner with the words "hello" for line 1, and "java" for line 2 and it will count the length of both strings, check the lexographical value of "hello" against "java" and print yes/no or equal if string hello, is greater greater than string "java" and finally will capitalize and contatenate both strings printed to system.out
SubstringExample.java scans input from scanner and has 2 integer values from scanner which determine which substring values of the string will be printed to system.out