-----------1. Create “Source File” [Car.java] ---------
public class Car {
private double price;
private String currency;
public String getCurrency() {
return currency;
}
public void setCurrency(String c) {
currency = c;
}
public double getPrice() {
return price;
}
public void setPrice(double p) {
price = p;
}
}
Description:
Use “Eclipse” or any other editor to create source file, On Unix like OS “vi editor can be used.
Description:
Use “Eclipse” or any other editor to create source file, On Unix like OS “vi editor can be used.
-----------2. Do source [Car.java] compilation-------
On Windows: C:/>javac Car.java
On Unix like: $javac Car.java
On Unix like: $javac Car.java
Description:
Compile the “Source File” to translate it into the “Class file” (byte code). Use “javac” command to compile the source.
Syntax: javac <SOURCE_FILE>
-----------3. Check for the class file [Car.class]-----
Car.class
Description:
Java compiler translate Car.java source file into Car.class. This class file will be use by JVM to create instance of class as necessary.
As stated by Stanford Medical, It is really the one and ONLY reason women in this country live 10 years more and weigh an average of 19 KG lighter than we do.
ReplyDelete(And really, it is not related to genetics or some secret-exercise and EVERYTHING around "how" they are eating.)
P.S, What I said is "HOW", not "WHAT"...
CLICK this link to discover if this quick test can help you find out your real weight loss potential