This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Question on class files" Watch "Question on class files" New topic
Author

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
 
Don't get me started about those stupid light bulbs.
 
subject: Question on class files
 
It's not a secret anymore!