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
Sunny_sXe [5.5K]
3 years ago
13

Which of the following correctly declares and initializes a Scanner object that will use input from the keyboard as its data sou

rce? *
1. Scanner keyboard = new (System.in);
2. Scanner keyboard = new Scanner (keyboard);
3. Scanner = new Scanner(System.in);
4. Scanner keyboard = new Scanner (System.in);
Computers and Technology
2 answers:
zepelin [54]3 years ago
5 0
Option 4 is correct.........
Norma-Jean [14]3 years ago
5 0

Answer:

it 4

Explanation:

You might be interested in
Which of the following describes evolution in the SDLC model?
stira [4]

Completing the requirements analysis is the evolutionary step of the Software development life cycle (SDLC). Hence option 3

<h3>What is the software development life cycle?</h3>

The SDLC is a method for evaluating and improving the development process. It enables a fine-grained study of each process phase. As a result, firms are able to maximize efficiency at each level.

SDLC aids in the achievement of these objectives by detecting inefficiencies and increased costs and resolving them so that everything runs smoothly.

Thus, Initial needs and architecture planning must be completed and are considered as an evolution in the SDLC model

Learn more about SDLC:

brainly.com/question/26366977

#SPJ1

4 0
2 years ago
Search engines enable you to
lord [1]
Search engines enable you to locate web pages related to a specific subject.
4 0
3 years ago
Read 2 more answers
Using C++.
butalik [34]
Alright -

So, we're going to create an object of type Calculator, with no additional information (which would be passed in the form of parameters). 

We would do this by saying: 

<em>Calculator calc;
</em>
Hopefully, this helps you! =)
4 0
3 years ago
What would be the most constructive response
natima [27]

Answer:

we cant tell what your talking abt please repost with at pitcher or a exolination

Explanation:

3 0
3 years ago
Write a program that will take a file named Celsius.dat that contains a list of temperatures in Celsius (one per line), and will
dedylja [7]

Answer:

celciusFile=open("celcius.dat","r")

fahrenheitFile=open("fahrenheit.dat","w")

# Iterate over each line in the file

for line in celciusFile.readlines():

# Calculate the  fahrenheit

   fahrenheit = 9.0 / 5.0 * float(line) + 32

#write the  Fahrenheit values to the  Fahrenheit file

   fahrenheitFile.write("%.1f\n" % fahrenheit)

# Release used resources

celciusFile.close()

fahrenheitFile.close()

Explanation:

<em></em>

<em>celciusFile=open("celcius.dat","r") </em>

<em>fahrenheitFile=open("fahrenheit.dat","w") </em>

open the Celsius file in the read mode and assign it to a variable.

open the  Fahrenheit file in the write mode and assign it to a variable.

read mode means you can only use/read the content in the file but cannot alter it.

write mode means you can write new data to the file.

<em> </em>

<em />

  • <em># Iterate over each line in the file </em>

<em>for line in celciusFile.readlines(): </em>

The values contained in the Celsius file are collected.

  • <em># Calculate the  fahrenheit </em>

<em>    fahrenheit = 9.0 / 5.0 * float(line) + 32 </em>

The values are then converted to Fahrenheit.

  • <em>#write the  Fahrenheit values to the  Fahrenheit file</em>

<em>    fahrenheitFile.write("%.1f\n" % fahrenheit) </em>

The Fahrenheit values are written to the  Fahrenheit file

<em>%.1f</em><em>  is used to specify the number of digits after decimal. and </em><em>\n </em><em>adds a new line.</em>

<em />

  • <em># Release used resources </em>

<em>celciusFile.close() </em>

<em>fahrenheitFile.close() </em>

All files are closed

<em />

5 0
3 years ago
Other questions:
  • What is TCP/IP's Transport layer's primary duty?
    8·1 answer
  • A technician is troubleshooting a Windows system in which an application works properly when the computer is booted in Safe Mode
    14·1 answer
  • Write a loop that displays all possible combinations of two letters where the letters are 'a', or 'b', or 'c', or 'd', or 'e'. T
    10·1 answer
  • Which of the following is the most significant outcome of the formation of the SMPTE?
    15·1 answer
  • This document shows a student's education and career goals and a way to achieve those goals.
    8·1 answer
  • 5. What is the purpose of OneDrive? A. OneDrive organizes files on an external hard drive. B. OneDrive allows the user to work o
    7·1 answer
  • You need to secure your wireless network. which security protocol would be the best choice
    10·1 answer
  • I have been trying for 2 days to make an account, but it says registration cannot be completed at this time. It is extremely ann
    12·2 answers
  • What is the output?<br> str = 'abcdef<br> print(str[2:50)
    6·2 answers
  • Need help ASAP <br><br> Thankss + BRAINLIST only for correct answers
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!