Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Package Confu. Pls URGENT

 
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
 
look! it's a bird! it's a plane! It's .... a teeny tiny ad
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!