Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need to identify the 5 code elements for a Password class. Things like: class,

ID: 3557764 • Letter: I

Question

I need to identify the 5 code elements for a Password class. Things like: class, instance, and final variables, accessor and mutator method, public and private specifiers for methods and member variables.i need to provide detail and descriptions for each code element.

Final static int MIN_SIZE = 6; Final static int MAX_SIZE = 15; Static int max History = 4; Static int expires Notify Limit = 3;Private int max Use = 120; Private int remaining Use = max Uses; Private Boolean auto Expires = true; Private Boolean expired = false;

Explanation / Answer

1)Block1 represents static variables
MIN_SIZE,MAX_SIZE,maxHistory,expiresNotifyLimit

2)Block 2 have variables MIN_SIZE,MAX_SIZE which are declred as final means they can not be modified latter in program

3)Block 3 represent member variables which are private i.e their access specifier is private these variables can not be accessed except by member functions

4)Block 4 have constructors their access specifier is public

5)block 5 have accessor method getAutoExpires() ,access specifier is public for it