Using files as command line args Java -
i trying pass in 2 .wav files program through command line.
in main() have tried casting them file
file(args[0])
this don't work.if want able use .wav files pass in command line args need do?
you need pass in url of files via command line , create new files urls.
public static void main(string[] args) { file file1 = new file(args[0]); file file2 = new file(args[1]);
Comments
Post a Comment