2 poin
Q.No.10 Write a Java
statement to input a character
and also only if condition to
check whether the entered
character is in upper case or
not.
*
Answers
Answered by
0
Answer:
//after inputting scanner class and writing the function prototype
Scanner kb=new Scanner(System.in);
char a=kb.nextChar();
if(a.isUpperCase==true)
System.out.println("it is in uppercase");
// close parenthesis
Similar questions