Home Java how to set reverse password in java

how to set reverse password in java

56 second read
0
0
395

this tutorial will teach you how to set the numbers reverse.this tutorial is very useful us to gain the good understand of reverse numbers.if we set the password  reverse way.it is make your system more secure.

Paste the Code Inside the Ok Button

int num,res = 0;
num = Integer.parseInt(txtPass.getText());
while(num !=0)
  {
      int b = num % 10;
      res = res * 10 + b;
            num /=10;
  }       
JOptionPane.showMessageDialog(this,res );

i have attached the video link below. which will do this tutorials step by step.

 

Load More Related Articles
Load More By admin
Load More In Java

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also

Employee Working Hours Calculation System using C#.net

Initialize the employee number, Hourswork,and Hoursrate to calculate a grosswage use the f…