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
AlekseyPX
3 years ago
8

Which method call converts the value in variable stringVariable to an integer?

Computers and Technology
1 answer:
zlopas [31]3 years ago
3 0

Answer:

The correct answer for the given question is Integer.parseInt( string variable );

Explanation:

Integer.parseInt( string variable ); is the method in a java programming language that convert the string into the integer value. It takes a string variable and converted into the integer.

Following are the program in java which convert the string value into an integer value.

class Main  

{

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

{

   String str1 = "10009";

// variable declaration

   int k = Integer.parseInt(str1);

// convert the string into integer.

   System.out.println("Converted into Int:" + k);

}

}

Output:

Converted into Int:10009

Convert.toInt( stringVariable );

Convert.parseInt( stringVariable,Integer.toInt( stringVariable ); are not any method to convert the string into integer .

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

You might be interested in
One software license model allows software to be freely distributed, downloaded, and installed without paying a license fee but
BabaBlast [244]

Answer:TRUE

IT IS AN OPEN SOURCE SOFTWARE

Explanation:AN OPEN SOURCE SOFTWARE is a software which is made to accessed free of charge,no lincense is required for the use of the software. This type of softwares are usually developed to help the users which may be students or for religious purposes or for vunerable persons whom the developer feels should have access to the software. The only fee required is for maintenance or for other special features. GOOGLE'S ANDROID OPERATING SYSTEM is considered as an open source software.

8 0
3 years ago
Which of the following devices is used to connect multiple devices to a network and sends all traffic to all connected devices?
Stels [109]

Answer: HUB

Explanation:

A Hub is a network device, that acts only in layer 1 (Physical layer) forwarding all traffic that reaches to the input port, to all output ports at once, without processing the received data in any way that could modify them.

It behaves like it were a multiport repeater (which has only one output port).

5 0
3 years ago
GUI allows users to communicate with a device and see what they are doing onscreen.
zloy xaker [14]
The answer is true.
Gui basically is the thing that lets you see your desktop and what your doing. The G means graphics. Makes sense. If we didn't have GUI, then we would have to type in code to access documents, and do things on the computer. GUI changes that.
8 0
3 years ago
Identify the function for the following computer part: Printer Question 23 options: Input
Anastasy [175]
24 is processing because it process info 
5 0
4 years ago
In the active directory, what is the topmost level?
PIT_PIT [208]

Note that in the active directory, the Forest is known to be the topmost level.

<h3>What is highest level in an Active Directory design?</h3>

An Active Directory forest is known to be the biggest level of organization that is found in the Active Directory as all of the forest often shares a single database.

Note therefore, that in the active directory, the Forest is known to be the topmost level.

Learn more about  active directory from

brainly.com/question/14364696

#SPJ11

6 0
2 years ago
Other questions:
  • What would make this comparison statement False? Complete with the appropriate relational operator. "G" _____= "G"
    10·1 answer
  • What instruments are used the measure voltage, current, and resistance
    7·1 answer
  • A ____ is text and graphics that print at the top of each page
    14·1 answer
  • Which of the following rules should be used to keep the appropriate distance between your vehicle and the vehicle in front of yo
    10·2 answers
  • Devon keeps his commitments, submits work when it's due, and shows up when scheduled. What personal skill does Devon
    15·2 answers
  • How does Accenture help companies harness the power of data to achieve optimal business outcomes?
    9·2 answers
  • Beth wants to add information to her powerpoint presentation that is hiden from her audience and only she will see. Which featur
    5·1 answer
  • What are different ways that celebrities try to connect with fans using the Internet and social media?
    5·1 answer
  • Using complete sentences post a detailed response to the following.
    12·2 answers
  • What are backup storage device of computer ?​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!