Not really. I just want to clear my doubts before jump to another chapter. Still I am on mid way of prep. About my doubt, a=b.java means a=b must be class name. Even one more mistake is c_d.class they have written at the place of class name. And also I am not getting you. Can you explained little more? Thanks.
A. java -Da=b c_d //Correct answer B. java -D a=b c_d //incorrect because space after -D, don't get confused a=b as file name as mentioned above C. javac -Da=b c_d //incorrect, no option -D for javac (java compiler) D. javac -D a=b c_d //incorrect on behalf of above
Even one more mistake is c_d.class they have written at the place of class name.
A class file is stored with .class extension. So no problem in c_d.class. But while launching the class file you don't write c_d.class, what you need is to give the class name as c_d.