Sunday, December 8, 2019

What is the preferred datatype to store password in java and why?

Problem statement: what would be the better option to choose between char[] array and String.

Answer: Character array i.e. char[] over the String.
Reference

No comments:

Post a Comment

How to run standalone mock server on local laptop

 Please download the standalone wiremock server from Direct download section at the bottom of the page.  Download and installation Feel fre...