The first one is d or the 4th answer choice and the second one is false. Hope this helps!
Answer:
Java is called portable because you can compile a java code which will spew out a byte-code, and then you run that code with Java Virtual Machine. Java Virtual Machine is like an interpreter, which reads the compiled byte-code and runs it. So first of all, you need to install the JVM on the system you want.
Explanation:
Answer:
1. cout << "Num: " << songNum << endl;
2. cout << songNum << endl;
3. cout << songNum <<" songs" << endl;
Explanation:
//Full Code
#include <iostream>
using namespace std;
int main ()
{
int songNum;
songNum = 5;
cout << "Num: " << songNum << endl;
cout << songNum << endl;
cout << songNum <<" songs" << endl;
return 0;
}
1. The error in the first cout statement is that variable songnum is not declared.
C++ is a case sensitive programme language; it treats upper case and lower case characters differently.
Variable songNum was declared; not songnum.
2. Cout us used to print a Variable that has already been declared.
The error arises in int songNum in the second cout statement.
3. When printing more than one variables or values, they must be separated with <<
If your accelerator gets stuck down, do the following: Shift to neutral. Apply the brakes. Keep your eyes on the road and look for a way out.If your accelerator gets stuck down, do the following:
Shift to neutral.
Apply the brakes.
Keep your eyes on the road and look for a way out.
Warn other drivers by blinking and flashing your hazard lights.
Try to drive the car safely off the road.
Turn off the ignition when you no longer need to change direction.
Answer:
you fill the hole so there is no more cat