1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
SashulF [63]
2 years ago
15

In order to declare a named constant, the declaration must use which java keyword?

Computers and Technology
1 answer:
inessss [21]2 years ago
5 0

Answer:

use final keyword in java.

use const keyword in javascript.

You might be interested in
1.) How do parks and other green spaces benefit a community?
vagabundo [1.1K]
#1 is A and #2 is B, but I don't know about #3 and #4.
8 0
3 years ago
Write a program that plays the popular scissor-rock-paper game. (A scissor can cut a paper, a rock can break a scissor, and a pa
Andrei [34K]

Answer:

Explanation:

The following program is written in Python and follows all the instructions accordingly to create the rock paper scissor game as requested.

from random import randint

answers = ["Scissors", "Rock", "Paper"]

computer = answers[randint(0, 2)]

continue_loop = False

while continue_loop == False:

   

   player_choice = input("Choose a number, 0 = Scissors, 1 = Rock , 2 = Paper?")

   player_choice = answers[int(player_choice)]

   if player_choice == computer:

       print("Tie!")

   elif player_choice == "Rock":

       if computer == "Paper":

           print("You lose!", computer, "covers", player_choice)

       else:

           print("You win!", player_choice, "smashes", computer)

   elif player_choice == "Paper":

       if computer == "Scissors":

           print("You lose!", computer, "cut", player_choice)

       else:

           print("You win!", player_choice, "covers", computer)

   elif player_choice == "Scissors":

       if computer == "Rock":

           print("You lose...", computer, "smashes", player_choice)

       else:

           print("You win!", player_choice, "cut", computer)

   else:

       print("That's not a valid play. Check your spelling!")

   continue_or_not = input("Would you like to play again? Y/N")

   continue_or_not = continue_or_not.lower()

   if continue_or_not != "y":

       break

   computer = answers[randint(0, 2)]

8 0
3 years ago
What processing software enables the user to
Dafna11 [192]

Answer:

I think its B

Explanation:

software enables users to create and edit documents.

6 0
3 years ago
Images, symbols, and diagrams are types of
Nataly [62]
D is the answer to the question

4 0
3 years ago
Read 2 more answers
On most vehicles, the windshield wipers can be activated by a lever located to the _________ of the steering wheel.
tatuchka [14]

The answer is A. Right

7 0
3 years ago
Other questions:
  • At an open or uncontrolled intersection, yield if ____.
    11·2 answers
  • How many degrees of freedom does any unconstrained object have in 3-D modeling?
    6·1 answer
  • What New England industry quickly collapsed with the discovery of oil in Pennsylvania?
    11·2 answers
  • gjkgkj, nzirtegfgyiyh r f rf35 gt لل'"ل(éف--غاعهç غا-عا'عتعتعت لفل فلفغالاخعتهحبضحاهبض قاتكخبعاص'فعالا بق"الفعكخل"عهباىلا فبافلك
    9·2 answers
  • Diane wants to maintain a record of percent change in sales from the year 2000 to the present year. She enters the values of per
    10·1 answer
  • .true or false? one disadvantage of cloudware is that it is never free<br> A. true<br> B. false
    12·1 answer
  • Someone places a chocolate bar near a working radar set that is used to locate ships and airplanes. Which best describes what is
    15·2 answers
  • A Hospital wants to store different types of data I need to find the best storage device for each type and why what is the best
    14·1 answer
  • A__ is a part of a GUI that allows a specific type of interaction with the user.
    14·1 answer
  • The probability of event A occurring is 10/10. The probability of event B occurring is 0/10. What is the entropy of this system?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!