Answer:
Secondary memory.
Explanation:
Unlike main memory which loses its content when electrical power to the system is turned off, secondary memory is volatile and persistent in nature. i.e it retains its content whether or not power is supplied to the computer that is holding it. As a matter of fact, they (secondary memory) are meant to store data permanently. Examples of such memory are the hard drives, floppy disks, flash drives, CDs and CDROMs.
Also, unlike the primary or main memory that can be accessed directly by the processor of the computer housing it, secondary memory are not accessed directly.
She should use a condition-controlled loop. Because it uses a True/False and it will not continue until the task is done
The answer is C to this question
You can just put “/“ to represent dividing
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 );