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
Amanda [17]
3 years ago
13

What type can generic type t be java.

Computers and Technology
1 answer:
Irina18 [472]3 years ago
4 0

Answer:

Generic type t can be the type of the class of interface that the current instance of class represent

You might be interested in
Which of the following is the BEST reason to use cash for making purchases?
PSYCHO15rus [73]

You could get a better deal.

Companies get charged when someone makes a card purchase. So if you pay in cash you could get a better deal. Like when you are buying a car, you can get a better deal because you are paying upfront and on the spot so they wont have to worry about you missing paymenyd

6 0
3 years ago
Ryan would like to copy a list of contacts from a colleague into his personal address book. The list of contacts is contained in
Yanka [14]

The first thing Ryan should do is to: C. format the text file with comma-separated values and save as CSV file type.

<h3>What is a file?</h3>

A file simply refers to a computer resource that avails end users an ability to store, save, or record data as a single unit on a computer storage device.

Since the list of contacts is contained in a simple text file, formatting the text file with comma-separated values and saving it as a CSV file type should be the first thing Ryan should do in this scenario.

Read more on CSV file here: brainly.com/question/14338529

#SPJ1

6 0
3 years ago
Given three variables, a, b, c, of type double that have already been declared and initialized, write some code that prints each
Olegator [25]

Answer:

The following code from the C++ programming Language:

cout << setw(10) << setprecision(3) << scientific;

cout << a << " " << b << " " << c;

Explanation:

In the above code, we have three double type variable "a", "b", "c" which already have been declared and initialized.

E-notation is how we write any number that is too small and too large to be in briefly written in decimal format.

6 0
4 years ago
What is the Definition of actuating
Radda [10]

Explanation:

to put into mechanical action or motion The pump is actuated by the windmill.

7 0
3 years ago
Read 2 more answers
Write a Python 3 script in PyCharm that will simulate the game of "Rock, Paper, Scissors": Display a header and the simple rules
mr Goodwill [35]

Answer:

'''

Rock, Paper, Scissors:

The Rules:

If player1's move equivalent to player2's move, "It's a tie".

"rock" beats "scissors", "scissors" beats "paper", and "paper" beats "rock"

'''

player_1 = input("Player 1's move: ")

print('*** NO CHEATING ***' * 20)

player_2 = input("Player 2's move: ")

if player_1 or player_2 not in ["rock", "paper", "scissors"]:

 print("Invalid input!")

if player_1 == player_2:

   print("It's a tie")

else:

   if player_1 == "rock":

       if player_2 == "scissors":

           print("Player 1 won")

       elif player_2 == "paper":

           print("Player 2 won")

   elif player_1 == "scissors":

       if player_2 == "paper":

           print("Player 1 won")

       elif player_2 == "rock":

           print("Player 2 won")

   elif player_1 == "paper":

       if player_2 == "rock":

           print("Player 1 won")

       elif player_2 == "scissors":

           print("Player 2 won")

Explanation:

In the comment part, put the header and the rules of the game

Ask the user to enter the player1's move

Print the asterisks

Ask the user to enter the player2's move

If any of the input is not "rock", "paper", "scissors", state that the input is invalid

Check the inputs. If they are equal, print that it is a tie. Otherwise:

If player1's move is rock. Check player2's move. If it is "scissors", player1 wins. If it is "paper", player2 wins

If player1's move is scissors. Check player2's move. If it is "paper", player1 wins. If it is "rock", player2 wins

If player1's move is paper. Check player2's move. If it is "rock", player1 wins. If it is "scissors", player2 wins

7 0
3 years ago
Other questions:
  • Which is the first step in visual character development?
    11·2 answers
  • Select the correct answer.
    15·2 answers
  • Write a program that reads in 10 numbers from the user and stores them in a 1D array of size 10. Then, write BubbleSort to sort
    13·1 answer
  • Write a program which:
    10·1 answer
  • The Printer Event 1 P1 requests and is allocated the printer R1. 2 P1 releases the printer R1. 3 P2 requests and is allocated th
    10·1 answer
  • During which phase of film making does the team outline their vision for the film?
    5·1 answer
  • Why was it important for the date format to be standardized by the
    7·1 answer
  • Different between input and output device​
    5·1 answer
  • Write a small program that takes in two numbers from the user. Using an if statement and an else statement, compare them and tel
    14·2 answers
  • What is the introduction of an algorithm and programming and how does it work?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!