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

Blueprint for self-improvement

To learn faster: Make the process fun To understand yourself : Write To understand the world better : Read To build deeper connection : Lis...