Question: You have a java project arranged as follows: / home / yourLoginName / project / s r c ? code / a . class a

You have a java project arranged as follows:
/home/yourLoginName/
project/
src?
code/
a.class
a.java
b.class
b.java
c.class
c.java
You have been told that the source code directory for this project is "src".
Which of the following is true?
All of the .java files must start with the statement "package code;"
All of the .java files must start with the statement "package src.code;"
You must cd into /project/src before compiling,
You must cd into /project before compiling,
You have a java project arranged as follows: /

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 Programming Questions!