Final answer:
To convert the contents of the big variable to lowercase and assign the converted value to the little variable, use the toLowerCase() method. Determine if a char variable contains a numeric digit using Character.isDigit(). Count the number of uppercase characters in a String object using Character.isUpperCase().
Step-by-step explanation:
To convert the contents of the big variable to lowercase and assign the converted value to the little variable, you can use the toLowerCase() method in Java. Here's the statement:
little = big.toLowerCase();
To determine if a char variable ch contains a numeric digit or not, you can use the Character.isDigit() method. Here's the Boolean expression for the if statement:
if (Character.isDigit(ch)) {
System.out.println("digit");
} else {
System.out.println("Not a digit");
}
To count the number of uppercase characters in a String object str, you can use a for loop and check each character using the Character.isUpperCase() method. Here's the Boolean expression for the if statement:
if (Character.isUpperCase(str.charAt(i))) {
total++;
}