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
Rom4ik [11]
3 years ago
12

Which of the following can be used to get an integer value from the keyboard?

Computers and Technology
1 answer:
seraphim [82]3 years ago
6 0

Answer:

Integer.parseInt( stringVariable );

Explanation:

This function is used to convert the string into integer in java .Following are the program that convert the string into integer in java .

public class Main

{

public static void main(String[] args)  // main method

{

 String num = "1056"; // string variable

int res = Integer.parseInt(num);  //convert into integer  

System.out.println(res); // display result

}

}

Output:1056

Therefore the correct answer is:Integer.parseInt( stringVariable );

You might be interested in
What does it mean to reconcile an account?
Romashka-Z-Leto [24]

Answer:

It's to prove and/or document that the account balance shown in the internal files of the company is correct, using external data sources (like bank statements for example).

That way, you reconcile two versions of the reality to make sure you are telling the same story.

Once the account has been reconciled (usually by an external party), you can use it confidently in your decision making process or share it with other parties (like banks, governments, partners, and so on).

3 0
3 years ago
Can folders have mixed apps?
sweet-ann [11.9K]

Answer:

what

Explanation:

8 0
3 years ago
Ergonomics is defined as
Scrat [10]

Answer:

B. The design and arrangement of items for efficiency and safety.  

Explanation:

6 0
3 years ago
I NEED HELP ASAP IM BAD AT THIS
ra1l [238]

A float is a floating point number. This means that's the number has a decimal place. Numbers with or without decimal places can be stored in a float variable but more commonly numbers with decimal points.

The correct choices are 1 and 3.4

4 0
3 years ago
How do i clear my search history ?
nydimaria [60]
If an iphone go to the open book icon then go to history and clear from there if on a laptop go to the top right and look at the three ... press it and go to history and press clear history I don’t remember about android
4 0
3 years ago
Read 2 more answers
Other questions:
  • Most programming languages provide loop statements that help users iteratively process code. In Coral you can write loops that h
    15·1 answer
  • Why computer is known as versatile and diligent device ?explain​
    14·1 answer
  • 24. A key on a keyboard of a computer
    12·1 answer
  • What can you find the under the privacy policy section of a shopping website?
    12·1 answer
  • Your task is to build a palindrome from an input string.A palindrome is a word that readsthe same backward or forward. Your code
    12·1 answer
  • Java can be procedural or object-oriented when it comes to programming. What is the difference between procedural and OOP?​
    13·1 answer
  • Convertbinary(111100)to decimal​​​​
    13·2 answers
  • Plz..... Add the following Binary numbers 1. 111000 + 1100 + 111111​
    6·1 answer
  • There is a development team delivering a new software package with agile and devops frameworks. in one of the releases, the auto
    11·2 answers
  • Why does python code generate fewer types of syntax errors than code in other programming languages?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!