VOOZH about

URL: https://www.geeksforgeeks.org/java/provider-getversion-method-in-java-with-examples/

⇱ Provider getVersion() method in Java with Examples - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Provider getVersion() method in Java with Examples

Last Updated : 12 Jun, 2019
The getVersion() method of java.security.Provider class is used to return the version number for this provider Syntax:
public double getVersion()
Return Value: This method returns the version number for this provider. Below are the examples to illustrate the getVersion() method: Example 1:
Output:
version : 1.8
Example 2:
Output:
version : 1.8
Comment