Question: 2 pts Evaluate the following valid Java statements found in a program. Which of the following usernames could be generated from this code? Random gen
2 pts Evaluate the following valid Java statements found in a program. Which of the following usernames could be generated from this code? Random gen - new Random(); String firstName - "Bart": String lastName - "Simpson": String username fiestrane.substring(0,1) firstanelengen lastName.substring(2, 5). (gen.nextInt(100) 101) B3mps 200 34 imps101 54mps100 Beeps122 Bamos143 3nts
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
