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

If C is between X and Y with YC=6 and XY=10,what is XC?
come SE dice Buenos dais in English
Sơ đồ tư duy cấu tạo tế bào nhân sơ
Hey guys!! Kon'nichiwa!!Mata hanadesu!!I need a little help with my homework today and I am so stuck on this right now!!(;ŏ﹏ŏ)I hope you guys can help me out!!T
The change in price of the milk from 2016 to 2018 is shown in the table. Year Change (in dollars) 2016 +0.15 2017 -0.20 2018 +0.25 In 2015, the price of the m
A rock has a volume of 9.5cm^3. Its density is 5.6g/cm^3. What is its mass? (Show work, formula, and units)
write a book report on the book rescued from ISIS.
For a rectangle with a perimeter 40 to have the largest area, what dimensions should it have?
ano ang kasalungat ng normal na paraan​
solve pls brainliest And the option is for all 3 of them