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

In a product market, who is the seller and who is the buyer?
4/5 of the 315 members of a book club are male.How many female members are there in the club?
Evaluate M²/P² for M = 10, N = -5, and P = -2 a) -5 b) 5 c) -25 d) 25
measles affect what part of the body
It takes tsp of baking soda to make 4 dozen cookies. How many teaspoons of baking soda does it take to make 1 dozen cookies?
Which of the following is NOT a hormone that regulates stages of digestion? auxin cholecystokinin gastrin secretin
In 1945 the Japanese Emperor announced that _____. the Japanese royal family would no longer rule over Japan his ancestors originally came from Korea he would d
How did the U.S. Stock market contribute to economic instability before te Great Depression ?
The chess club has 50 members. They want to raise $680 for a trip to a competition. The school will give $130 How much must each member pat
Imagine that you are studying two parents who are considering having children. One parent is has the genotype IAi and the other has the genotype IBi. Create a P