Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Icdt 88 2nd International Conference On Database Theory Bruges Belgium August 31 September 2 1988 Proceedings Lncs 326

Authors: Marc Gyssens ,Jan Paredaens ,Dirk Van Gucht

1st Edition

3540501711, 978-3540501718

More Books

Students also viewed these Databases questions

Question

1. Identify three communication approaches to identity.

Answered: 1 week ago

Question

d. Who are important leaders and heroes of the group?

Answered: 1 week ago

Question

3. Describe phases of minority identity development.

Answered: 1 week ago