کد: انتخاب همه
/**
* Created by Amirsam Bahador on 10/25/2016.
*/
public class TargetClass {
public static void main(String[] args) {
File[] roots = File.listRoots();
for(File root : roots){
System.out.println(root);
}
}
}