Examlex

Solved

What Is the Output of the Following Code Snippet

question 105

Multiple Choice

What is the output of the following code snippet?
Int golfScore = 64;
If (golfScore < 60)
{
System.out.println("Astounding!") ;
}
If (golfScore >= 60 && golfScore < 70)
{
System.out.println("Professional!") ;
}
If (golfScore >= 70 && golfScore < 80)
{
System.out.println("Pretty good!") ;
}
If (golfScore >= 80 && golfScore < 90)
{
System.out.println("Not so hot!") ;
}
If (golfScore >= 90)
{
System.out.println("Keep your day job!") ;
}


Definitions:

Caudal

At or near the rear or the tail end of an organism.

CNS

The central nervous system, composed of the brain and spinal cord, which processes and sends out neural signals.

PNS

The Peripheral Nervous System, which consists of the nerves and ganglia outside of the brain and spinal cord.

Cerebrospinal Fluid

The clear, colorless body fluid found in the brain and spinal cord, acting as a cushion and providing nutrients to these areas.

Related Questions