Answer & Explanation:
//written in java
public class Main {
public static void main(String[] args) {
//String stored in a variable named phrase
String phrase = "Brainly";
//Checking whether the first character is in upper case or not
if (Character.isUpperCase(phrase.charAt(0)))
System.out.println("capital");
else
System.out.println("not capital");
}
}
Looks like you already answered your question? It’s the a tag ()
Explanation:
highlight, correct format and click ok