Như tiêu để, em có 1 cấu trúc thư mục chứa 2 file mã java như sau
simpleexample
MarsRobot.java
RobotTest.java
và đây là mã 2 file
// in MarsRobot.java
package simpleexample;
class MarsRobot {
private String status;
private int speed;
private float temperature;
public MarsRobot(String stt, int sp, float temp){
status = stt;
speed = sp;
temperature = temp;
};
public void showALl(){
System.out.println("My status:" + status);
System.out.println("I'm running at speed " + speed);
System.out.println("My body is at " + temperature + " degree");
}
public void setAttribute(String stt, int sp, float temp){
status = stt;
speed = sp;
temperature = temp;
}
}
// in RobotTest.java
package simpleexample;
//import simpleexample.MarsRobot;
public class RobotTest{
public static void main(String args[]){
MarsRobot myRobot = new MarsRobot("I am fine", 10, 40);
myRobot.showAll();
myRobot.setAttribute("I make some mistake", 25, 50);
myRobot.showAll();
}
}
Em muốn dịch và chạy gói này bằng dòng lệnh thì phải gọi javac từ đâu và gọi như thế nào ạ?
Mong mọi người giúp đỡ, em cũng đã tìm một số câu trả lời trên các diễn đàn hỏi đáp nhưng khó hiểu và không rõ ràng cho vấn đề này lắm ạ 
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?