• Post Reply Bookmark Topic Watch Topic
  • New Topic

Package Confu. Pls URGENT  RSS feed

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I have got two classes. one is mytry.java
which has got first line
package com.dom;
(path: d:\com\dom\mytry.java)
second class is mytry1.java
package com.dom.rom;
(path: d:\com\dom\rom)

and creating a instance of mytry1.java in mytry.java
How to compile. need all basic instruction pls
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest the Java Tutorial:
http://java.sun.com/docs/books/tutorial/java/index.html
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!