Question
Can you explain the cs option of java interpreter?

Answers

When you develop Java using Sun's JDK, you normally compile your source by using the javac compiler. If no compile errors exist, you then run your application using the java interpreter. As a shortcut, you can specify the -cs command-line switch when you invoke the java interpreter. The java command, in turn, will automatically compile out-of-date (modified) source-code files for you.
By using the -cs switch, you can make changes to your source and immediately execute the java interpreter without having to manually run the java compiler yourself. The java interpreter knows which files it needs to recompile by comparing each file's modification dates against the corresponding class modification date. Normally, programmers use the -cs option when they have made a minor change to the source files and know that the files contain no compilation errors. The following command illustrates the use of the -cs switch:

C: JAVACODE> Java -cs MyProgram   Your Comment




More Software,Java,Interpreters Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q Who is the Chairmen of SIDBI
  • Q What is the use of commit value while deleting jobs in SAP system
  • Q How to see all members of a file?
  • Q Who directed Star Trek films 3 and 4
  • Q What is NullPointerException and how to handle it?
  • Q Smith sees Jones walking towards the edge of a cliff. Smith knows Jones is blind, but doesn't like him, so allows him to walk off the edge. Is this murder?
  • Q What is the need of symtab (symbol table) in assembler?
  • Q "If you're given a jar with a mix of fair and unfair coins, and you pull one out and flip it 3 times, and get the specific sequence heads heads tails, what are the chances that you pulled out a fair or an unfair coin?"
  • Q What is the frozen problem of M13KO7 ?
  • Q What number is between 9 and 11 on a regulation dartboard: 14; 16; 13; or 12?
  • Q Which group had a hit with Mr Tambourine Man