A4Q6Class is a class that generates user passwords. For example: DxEd. The class fields are: hasUpperCase If false, the password should be ll lower case.
A4Q6Class is a class that generates user passwords. For example: "DxEd". The class fields are: hasUpperCase If false, the password should be ll lower case. symbols If false, the password should contain only letters and numbers. length. the length of the password. generatePassword(() This will return a string containing the generated password. Your code should be here. Note you can generate a random letter using the code char letter = (char)(random('a',' Z'); [CR8] This tests your ability to write methods for a class Marks [5 ]
You must write a simple class called exactly A4Q7Class, which represents a student client for a money crisis charity with the following variables you must decided what types to use. For the function, You must make a new instance of this your class and return it( see A4Q6/A4Q5 for an example). The class should have a default constructor and default all strings to null. Make all fields public. Note your method should be public[5]
public object A4Q7( ) \{ return null ;// new A4Q7Class ()Step by Step Solution
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started