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
postnew [5]
3 years ago
11

Can java scanner not take in a negative input?

Computers and Technology
1 answer:
algol [13]3 years ago
8 0

Answer:

It can take a negative input

Explanation:

When you declare a variable in Java and you get your input via Scanner library; the Scanner library will accept the input irrespective of whether it's negative or not.

Take for instance, the following segment

<em>Scanner input = new Scanner(System.in);</em>

<em>int userinput = input.nextInt()</em>

<em />

Irrespective of whether userinput is negative or positive, it'll accept it.

You might be interested in
Operating systems that have windows and icons have which type of user interface?
777dan777 [17]
A GUI (Graphical User Interface)
4 0
4 years ago
Sean is white hat hacker, who is demonstrating a network level session hijack attacks and as part of it, he has injected malicio
solong [7]

Answer:

The following network level session hijacking attack shown by Sean is Blind Hijacking, LETTER C.

Explanation:

<em>Because he is injecting malicious data or commands into the intercepted communications in the TCP session even if the source-routing is disabled. He can send the data or commands but hass no access to see the response.</em>

3 0
4 years ago
What does GEOSYNCHRONICE SATELLITE use for?​
Elanso [62]

Answer:

The Geosynchronous Satellite is mainly used for sending data and information to the spacecraft from one of the centers on Earth. It is also used for communication between the center on Earth and the spacecraft.

4 0
3 years ago
Read 2 more answers
EASY POINTS
Dmitry [639]
Its answer D because I took the same test and it told me that my answer was right that I put down and it was D.

3 0
3 years ago
You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. You have to create user ac
katen-ka-za [31]

Answer:

We must use groupadd and useradd.

Explanation:

We are a network administrator in Perfect Solutions, this company asks two different processes in their Linux-based network.

Firstly we must create a group with the name "MT" we have to use the command groupadd, we are going to create the MT group with this command.

Second, we must create four users for new Management Trainees, we have to use the command useradd, we are going to create the four new users with this command.

3 0
3 years ago
Other questions:
  • A server-side extension ________________. provides its services to the web server in a way that is totally transparent to the cl
    13·1 answer
  • The analysis of how people relate to each other is known as?
    6·1 answer
  • When would a one way flag variable be used
    10·1 answer
  • Pls help is very urgent and I will mark u as brainliest plsssss​
    11·2 answers
  • How to put vibratuon when tapping on keyboard galaxy s3?
    5·1 answer
  • For your biology class, you have taken a number of measurements for a plant growth experiment. You wish to create a chart that s
    15·1 answer
  • It is an electronic device that capable of accessing accepting processing product and storing data​
    13·1 answer
  • Discuss at least 1 Microsoft Windows security features that could protect data?
    5·1 answer
  • Whats the overall mood of the song Rags2Riches by rod wave
    14·1 answer
  • Using the arrow key you can adjust the position of a selection in increments of
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!