File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
Joined: Jul 20, 2007
Jul 22, 2007 09:27:00
Assume i have a package tv, consisting of an interface and two classes class1 and class2 ,all the three stored in separate files within tv
class2 implements the interface and extends class 1
i successfully compiled the interface file and class1.
HOW DO I COMPILE CLASS 2...
Joined: Mar 22, 2005
Jul 22, 2007 09:46:00
By doing a "javac tv\Class2.java" while you are at the root of the package hierarchy (which means one level up from Class2).
Alternatively, you can compile all of them together by "javac *.java" or "javac tv\*.java", depending on the directory you're in.
Ping & DNS
- my free Android networking tools app
I agree. Here's the link:
subject: compile problem
calling a method
query about overridden method
Passing a refrence to another Class vs method
Please HELP...Devaka Exam Test 2 Number 69. I totally don't understand it.
Accessing component from main class.... Help!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014