Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Object From Other Files

 
shivangi mathur
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing problem in using the object of a class. This Class is defined in another file.
Both the files, One which is using the object and one which is defining it, is in the same directory.
Please Help!!
thanks in Advance
 
Venugopal nandikolla
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post your question in a proper way.Its very confusing ...
Hope its in the same package as per your question, set your classpath to your working directory and run your java program.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic