jQuery in Action, 2nd edition*
The moose likes Java in General and the fly likes Question on class files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Question on class files" Watch "Question on class files" New topic

Question on class files

Yogendra Joshi
Ranch Hand

Joined: Apr 04, 2006
Posts: 213
Hi friends ,

I have a question in mind.. Lets say we have a.java and when i compile it it generates an a.class file. Now for some reason a.java files gets deleted but a.class file is still there. And my application calls a page where a.java is required , as a.java is not there but its class file is. So will it run ?

Please help me with this.

Thanks in Advance.

Yogendra Joshi.

Meri Zindagi Hain Tab Tak.. Jab Tak Tera Sahara.... Har Taraf Tu Hi Tu Hain SAI Tera Hi Hain Nazara.....
vidya sagar
Ranch Hand

Joined: Mar 02, 2005
Posts: 580
And my application calls a page where a.java is required

Mostly applications look for a class file only,if it is there its continues happily.I wont take care of .java file
It is sorta covered in the JavaRanch Style Guide.
subject: Question on class files