Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Package Confu. Pls URGENT  RSS feed

 
vishwas bhatt
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
 
Carl Trusiak
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!