Professional Documents
Culture Documents
Mohan
Mohan
and execution. But during the initial learning days, I would sugg est you use command line for a better understanding of the basics. Setting system property using java D There are some special options for the java command; we will see just one of the m now. We can use java -D to set a system property. System properties consist of name=value pairs that must be appended directly behind the -D, for example, java -Dmyproperty=myvalue. Now you can get it from within the code as System.getProperty("myproperty"); or System.getProperties().getProperty("myproperty"); Java as a compiled and interpreted language Programming languages were usually classified as compiled or interpreted. In sim ple terms, compiled means the code is read over compile time and converted to ma chine specific language.