InterviewSolution
| 1. |
Can You Explain The Cs Option Of Java Interpreter? |
|
Answer» 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. 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. |
|