Sign in using Google or Yahoo! id.  

Java program to display the number of cores available in your processor

 Comments Share:   Twitter   Reddit   HackerNews   Facebook 
class Core {
    public static void main(String[] arg) {
        System.out.println(Runtime.getRuntime().availableProcessors());
    }
}
Posted on July 22, 2010 11:31 AM by Subhash Chandran
java
blog comments powered by Disqus