Question: Answer questions 1 to 7 on a word file; write a program for each of Q.8 - Q.10. 1. (13 points) Give a brief answer

 Answer questions 1 to 7 on a word file; write a

Answer questions 1 to 7 on a word file; write a program for each of Q.8 - Q.10. 1. (13 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 RE 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) Explain the two compilation phases of Java programs. 9) Show the output of the following code: double amount - System.out.println amount/2); System.out.println(5/2) h) 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? 1) What is y after the following switch statement is executed? Rewrite the code using an if-else statement x= 3; y = 3: switch (x+3) { case 6: y=1 default: y +-1 } ) 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!