Question: I need help Chapter 3 Lecture Notes Slide #46, #1 Assumed that the following variables have been declared: String str2 = Arcturan Megadonkey; String str3

I need help  I need help Chapter 3 Lecture Notes Slide \#46, \#1 Assumed
that the following variables have been declared: String str2 = "Arcturan Megadonkey";
String str3 = "Sirius Cybernetics Corporation"; Evaluate the following expression: str2.substring (10,14)
- Note: This question asks for EVALUATION, which means you should show
appropriate data type (e.g., 7 for an int, 7.0 for a double,
and "7" for string) Chapter 3 Lecture Notes Slide \#46, \#2 Assumed

Chapter 3 Lecture Notes Slide \#46, \#1 Assumed that the following variables have been declared: String str2 = "Arcturan Megadonkey"; String str3 = "Sirius Cybernetics Corporation"; Evaluate the following expression: str2.substring (10,14) - Note: This question asks for EVALUATION, which means you should show appropriate data type (e.g., 7 for an int, 7.0 for a double, and "7" for string) Chapter 3 Lecture Notes Slide \#46, \#2 Assumed that the following variables have been declared: String str2 = "Arcturan Megadonkey"; String str3 = "Sirius Cybernetics Corporation"; Evaluate the following expression: str3.indexOf("C") - Note: This question asks for EVALUATION, which means you should show appropriate data type (e.g., 7 for an int, 7.0 for a double, and "7" for string) Chapter 3 Lecture Notes Slide \#46, \#3 Assumed that the following variables have been declared: String str2 = "Arcturan Megadonkey"; String str3 = "Sirius Cybernetics Corporation"; Evaluate the following expression: sstr2+str3charAt(17) - Note: This question asks for EVALUATION, which means you should show appropriate data type (e.g., 7 for an int, 7.0 for a double, and "7" for string) Assumed that the following variables have been declared: String str2 = "Arcturan Megadonkey"; String str3 = "Sirius Cybernetics Corporation"; Evaluate the following expression: str3.substring(9, str3.indexof("e")) - Note: This question asks for EVALUATION, which means you should show appropriate data type (e.g., 7 for an int, 7.0 for a double, and " 7 " for string) Chapter 3 Lecture Notes Slide \#46, \#5 String str2 = "Arcturan Megadonkey"; String str3 = "Sirius Cybernetics Corporation"; Evaluate the following expression: str2.toLowerCase().substring (9,13) - Note: This question asks for EVALUATION, which means you should show appropriate data type (e.g., 7 for an int, 7.0 for a double, and "7" for string) Chapter 3 Lecture Notes Slide \#46, \#6 String str2 = "Arcturan Megadonkey"; String str3 = "Sirius Cybernetics Corporation"; Evaluate the following expression: str3.substring(18, str3.length() - 7) Notes: 1. This question asks for EVALUATION, which means you should show appropriate data type (e.g., 7 for an int, 7.0 for a double, and "7" for string) 2. Be careful with the space(s)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!