Task #1 character and string class methods
Task #1 Character and String Class Methods 2. In the Time.java file,add conditions to the decision structure which validatesthe data. Conditions are needed that willa) Check the length of the stringb) Check the position of the colonc) Check that all other characters are digits3. Add lines that will separate the string into two substrings containing hours andminutes. Convert these substrings to integers and save […]