Question: 1 . ( 4 points ) Create a Project called WhereAreMyFiles. Create a package called pak 1 . Create a Class called Difference. Write the
points Create a Project called WhereAreMyFiles. Create a package called pak Create a Class
called Difference. Write the Java program as follows.
public class Difference
public static void mainString args
What is the difference?
System.out.print;
System.out.print;
A Locate the Difference.java file and Difference.class file. Copy&Paste the directory where the
files were located. For example, C:mexueclipseworkspaceWhereAreMyFilessrc
Please refer to the tutorial on the next page if you dont know how to copy a directory.
Directory for your Difference.java file:
Directory for your Difference.class file:
B What is the difference between these two files: Difference.java file and Difference.class file?
C Run your program and look at the output. Explain the difference between the first print
statement and the second print statement.
points Write a program called Table and use only strings to display the following table.
Screenshot your console output. The space between the columns is up to you
a a a
points Write a Java program called MoreArithmetic using java.lang.Math classes that display the
following on the console. Use Math.PI and Math.powa b and do not manually type in the
numerical results for pi pi pi Copy&Paste your source code and screenshot your console
output.
pi is
pi is
pi is
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
