answersLogoWhite

0

If by system number you mean the version number of the Java language on the client computer, you can useSystem.getProperty("java.version"); .

Or, if you want the Java virtual machine version number you can use System.getProperty("java.vm.version"); .

Finally, if you want the version number of the operating system, you can use System.getProperty("os.version"); .

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Can you get a Java program to find the cube of a number?

Yes


How do you write a java program to find the square root of a number?

You can use the Math.sqrt() method.


How to write A Java program to print number of digits in a given number?

One way to do this is to convert the number to a String, then use the corresponding String method to find out the length of the String.


Where can one find Java system properties?

You can find Java system properties on the Oracle website. On here there is lots of information on the use of Java systems and the current must updated software.


How do you write a java program to find the ad joint of a matrix?

bgfygfrhjyuyhh


How do you find execution time of a program in java?

You can have the below line as the first and last line of the program and find out the difference in time taken to calculate the execution time. This will print the system time in the console which can be used to calculate execution time.System.currentTimeMillis();


How do you write a java program for finding multiligual languages?

You can use Java's built-in functions to write a code that will find multilingual languages.


Where can someone find information on the Java language for no such method error be found?

"No such method" is an error message that may appear when attempting to create a program with Java. Users who understand the Java programming language can find an answer on websites such as Stack Overflow and Crafting Java.


Write a java program to find the factorial of a given number?

Here's a simple Java program to find the factorial of a given number using a recursive method: import java.util.Scanner; public class Factorial { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("Enter a number: "); int number = scanner.nextInt(); System.out.println("Factorial of " + number + " is " + factorial(number)); } static int factorial(int n) { return (n == 0) ? 1 : n * factorial(n - 1); } } This program prompts the user for a number and calculates its factorial recursively.


Jntu 2-2 oops through java answers?

write a java program to find factorial using recursive and non recursive


To find strong number in java?

sir , what is perfect no?


Write Java program to find numbers from 50 to 100 which are divisible by 5?

Here's a simple Java program to find numbers from 50 to 100 that are divisible by 5: public class DivisibleByFive { public static void main(String[] args) { for (int i = 50; i <= 100; i++) { if (i % 5 == 0) { System.out.println(i); } } } } This program uses a for loop to iterate through numbers from 50 to 100 and checks if each number is divisible by 5 using the modulus operator. If it is, the number is printed to the console.