unable to use "import"

Keep getting "Undefined...class name: Print" error when compiling CallPrint in following situation (Print already compiled without error):

Folder_A has CallPrint.java source with:

import Folder_B.*

public class CallPrint

{ static void main( String[] args )

{ char C2 = 'B';

Print.withLF( C2 );

}

}

Folder_B has Print.java source with:

package Folder_B;

public class Print

{ public static void withLF( char C )

{ System.out.println("" + C );

}

}

Am I using package & import statements properly?

[610 byte] By [BStonewell] at [2007-9-26 2:58:38]
# 1
well your missing a ; after your import but seeing teh eroor i think that's just a typo you made entering your code in teh forum. If not fix it. If it was just a typo your problem is in your classpath. You will need to add folder_B to your classpath.HTHRobert
borg-javadrone at 2007-6-29 10:53:46 > top of Java-index,Archived Forums,New To Java Technology Archive...