1. The main method will do the following: · Asks the user for first name, last name, and secret number using Scanner. (first letter Call defaultInfo (String, String) method to PRINT default Kean email address Note: You are using overloaded methods (i.e., same method name with different can be in upper case) Call defaultInfo (String, int) method to PRINT default Kean password parameter lists) 2. Write an overloaded method, defaultInfo, which does the following: public static void defaultInfo (String firstName, String lastName) [Note: you can use your own variable name] print default Kean email address all in low caps: concatenate first letter of firstName, full lastName, and @kean.edu. [Hint: string.charAt(index), string.toLowerCase)1 public static void defaultInfo (String firstName, int secret) [Note: You can use your own variable name] print default password all in low caps: concatenate the full firstName in reverse order and the secret number). [Hint: use a loop, string.lengthO, string.charAt(index), string.toLowerCase()] 3. More useful hints on the next page. Two Sample Runs: Enter first name: Daehan Enter last name: Kwak Enter secret number: 2018 Kean email: dkwak@kean.edu Kean password: nahead2018 Enter first name:Micheal Enter last name: Jordan Enter secret number: 23 Kean email: miordan@kean.edu Kean password: laehcim23
1. The main method will do the following: · Asks the user for first name, last name, and secret number using Scanner. (first letter Call defaultInfo (String, String) method to PRINT default Kean email address Note: You are using overloaded methods (i.e., same method name with different can be in upper case) Call defaultInfo (String, int) method to PRINT default Kean password parameter lists) 2. Write an overloaded method, defaultInfo, which does the following: public static void defaultInfo (String firstName, String lastName) [Note: you can use your own variable name] print default Kean email address all in low caps: concatenate first letter of firstName, full lastName, and @kean.edu. [Hint: string.charAt(index), string.toLowerCase)1 public static void defaultInfo (String firstName, int secret) [Note: You can use your own variable name] print default password all in low caps: concatenate the full firstName in reverse order and the secret number). [Hint: use a loop, string.lengthO, string.charAt(index), string.toLowerCase()] 3. More useful hints on the next page. Two Sample Runs: Enter first name: Daehan Enter last name: Kwak Enter secret number: 2018 Kean email: dkwak@kean.edu Kean password: nahead2018 Enter first name:Micheal Enter last name: Jordan Enter secret number: 23 Kean email: miordan@kean.edu Kean password: laehcim23
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Write a
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 6 steps with 4 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education