Nashae6927 Nashae6927
  • 18-07-2020
  • Computers and Technology
contestada

In Java, a char variable is capable of storing any Unicode character. Write a statement that assigns the Greek letter ^ to a char variable named greekLetter

Respuesta :

frknkrtrn
frknkrtrn frknkrtrn
  • 21-07-2020

Answer:

public class Main

{

public static void main(String[] args) {

    char greekLetter = '^';

    System.out.println(greekLetter);

}

}

Explanation:

Create a char variable called greekLetter and set it to the ^

Print the greekLetter to the screen

Answer Link

Otras preguntas

During Reconstruction, nearly 700 African American men were elected to Congress from Southern states. attended Virginia’s Constitutional Convention. were delega
Can someone please help me with 9 and 10??
What is the temperature 32 degrees Fahrenheit in degrees Celsius? a. 20 degrees Celsius b. 0 degrees Celsius c. 10 degrees Celsius d. 10 degrees Celsius
If Mercury, moved two orbital paths closer to the sun: what would be different? List serval differences, ideas.......
Nixon southern strategy won the support of what group of voters
who's is Laura Hillenbrand
What band is Jon bonjovi a part of
The SI unit of force is the A. joule. B. kilogram. C. meter. D. newton.
An object moving in a curved path and affected only by gravity is called
Which of the following is NOT a subatomic particle contained in an atom? a. electron c. proton b. photon d. neutron