CodesJava

Easy learning with example program codes

Java Runtime availableProcessors

public class Test {
  public static void main(String[] args) {
	  try {
		  System.out.println(Runtime.getRuntime().availableProcessors()); 
	} catch (Exception e) {
		e.printStackTrace();
	}
  }
}
Please follow and like us:
Posted in Java   








Copyright © 2019 CodesJava DMCA.com Protection Status