¿¹Á¦
public
static
void
main(
String
[] args) {
if
( args.length >
2
) {
File
f =
new
File( args[
0
] +
"/"
+ args[
1
] );
//$NON-NLS-1$
System.out.println( f.getAbsolutePath() );
}
}
¼Ö·ç¼Ç
´ë½Å java.io.File.separator¸¦ »ç¿ëÇϽʽÿÀ.
public
static
void
main(
String
[] args) {
if
( args.length >
2
) {
File
f =
new
File( args[
0
] + File.separator + args[
1
] );
System.out.println( f.getAbsolutePath() );
}
}