Create a class named after your last name (e.g., Hasanov) with the following methods and requirements: • it should have a String member called firstName with the initial value of your first name (e.g., Ismayil) • methodShuffie0 should concatenate your first name with itself, upcase and print by removing first and third letters in the next line until 1 or 2 letters left. (e.g., for Ismayil: O "ISMAYILISMAYIL" O "SAYILISMAYIL" O "AILISMAYIL" O "IISMAYIL" O "IMAYIL" O "MYIL" O YL" main) method should test the above method Submit your final java file in the below text field.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter4: More Object Concepts
Section: Chapter Questions
Problem 2PE
icon
Related questions
Question
Create a class named after your last name (e.g., Hasanov) with the following methods and requirements:
• It should have a String member called firstName with the initial value of your first name (e.g., Ismayil)
methodShuffie) should concatenate your first name with itself, upcase and print by removing first and third letters in the next line
until 1 or 2 letters left. (e.g., for Ismayil:
O "ISMAYILISMAYIL"
O "SAYILISMAYIL"
O "AILISMAYIL"
O "IISMAYIL"
O "IMAYIL"
O "MYIL"
O YL"
• main) method should test the above method
Submit your final java file in the below text field.
Transcribed Image Text:Create a class named after your last name (e.g., Hasanov) with the following methods and requirements: • It should have a String member called firstName with the initial value of your first name (e.g., Ismayil) methodShuffie) should concatenate your first name with itself, upcase and print by removing first and third letters in the next line until 1 or 2 letters left. (e.g., for Ismayil: O "ISMAYILISMAYIL" O "SAYILISMAYIL" O "AILISMAYIL" O "IISMAYIL" O "IMAYIL" O "MYIL" O YL" • main) method should test the above method Submit your final java file in the below text field.
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
void method
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT