Question: JAVA You are given the following requirements for a String input : It must begin with a lowercase 'x' The rest of the String must

JAVA
You are given the following requirements for a String input : It must begin with a lowercase 'x' The rest of the String must be a number between 10 and 99 There are three conditions necessary to enforce these requirements. Select the CORRECT version of each one. (Remember, you have two hours for this quiz - you may test this out in Eclipse if you're not sure, and/or check out the Java documentation online.) input[@] input.charAt(0) input.length == 3 input.length() == 3 Character.isDigit( input.charAt(1) ) && Character.isDigit( input.charAt(2) ) Integer.parseInt( input.substring(1) )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
