Question: ( 1 2 points ) Give a brief answer for each of the following questions: a ) What is the difference between an interpreted language
points Give a brief answer for each of the following questions:
a What is the difference between an interpreted language and a compiled
language?
b What does JDK stand for? What does JRE stand for?
c What is the Java source filename extension, and what is the Java bytecode
filename extension?
d What is the command to compile a Java program?
e What is the command to run a Java program?
f What is the JVM
g If your program needs to read integers, but the user entered strings, an error
would occur when running this program. What kind of error is this?
h Show the output of the following code:
double amount ;
System.out.printlnamount ;
System.out.println;
i Can the following conversions involving casting be allowed?
boolean b true;
i intb;
int i ;
boolean b booleani;
j What data types are required for a switch variable? If the keyword break is
not used after a case is processed, what is the next statement to be executed?
k What is y after the following switch statement is executed? Rewrite the code
using an ifelse statement.
x ; y ;
switch x
case : y ;
default: y ;
l Why does the Math class not need to be imported?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
