1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
torisob [31]
3 years ago
12

Complete the static method stringSearch, which returns a String that tells where the first occurrence of the characters (chr) we

re found ("The characters were found at ____ index.") or it says, "Those characters could not be found." The String to be searched (phrase) and the characters that are being looked for (chr) are passed in as arguments. (9 points) public static String stringSearch (String phrase, String chr) { ** Complete the code ** }
Computers and Technology
1 answer:
inysia [295]3 years ago
4 0
Well can't do it for you but try using that phrase argument with string compare functionality
You might be interested in
What is cryptocurrency ? I need to do a research one it please help!
icang [17]

A cryptocurrency is a digital asset designed to work as a medium of exchange that uses strong cryptography to secure financial transactions, control the creation of additional units, and verify the transfer of assets.

8 0
4 years ago
Compare GBN, SR, and TCP (no delayed ACK). Assume that the timeout values for all three protocols are sufficiently long such tha
kvv77 [185]

Answer:

a. GoBackN:

A sends 9 segments in total. They are initially sent segments 1, 2, 3, 4, 5 and later  re-sent segments 2, 3, 4, and 5. B sends 8 ACKs. They are 4 ACKS with sequence  number 1, and 4 ACKS with sequence numbers 2, 3, 4, and 5.

Selective Repeat:

A sends 6 segments in total. They are initially sent segments 1, 2, 3, 4, 5 and later  re-sent segments 2. B sends 5 ACKs. They are 4 ACKS with sequence number 1,  3, 4, 5. And there is one ACK with sequence number 2.

TCP:

A sends 6 segments in total. They are initially sent segments 1, 2, 3, 4, 5 and later re-sent segments 2. B sends 5 ACKs. They are 4 ACKS with sequence number 2.  There is one ACK with sequence numbers 6. Note that TCP always send an ACK  with expected sequence number.  

TCP successfully delivers all five data segments in shortest  time interval. This is because TCP uses fast retransmit without waiting until time out.

Explanation:

6 0
3 years ago
Order the steps for changing the settings of an outlook data file
Mrac [35]

Answer:

The steps are: (1)   (3)   (4)   (2)   (5)

Explanation:

Given

The above steps 1 to 5

Required

Order the steps to change settings of an outlook data file

The order have been highlighted in the answer section.

However, the step is as follows:

  • Enter the backstage view
  • Click Account Settings twice
  • Click the Data Files tab in the dialog box
  • Click the settings tab
  • Make the changes, and click OK
4 0
3 years ago
D-H public key exchange Please calculate the key for both Alice and Bob.
Nesterboy [21]

Answer:

See explaination

Explanation:

Please kindly check attachment for the step by step solution of the given problem.

6 0
4 years ago
State two functions of windows environment​
Hitman42 [59]

Answer:

idonoheheheheheuhiiikv

8 0
3 years ago
Other questions:
  • Ayuda no encuentro el concepto de estas tres preguntas: ¿para qué sirve la administración en la ofimatica o informática? ¿Que so
    13·1 answer
  • When should students practice netiquette in an online course? Check all that apply.
    14·2 answers
  • Clep allows students to do all of thw following except which?
    9·2 answers
  • 6) Sometimes it is difficult to read a piece of code and understand what the code will do. For this reason, you may want to add
    9·1 answer
  • Titus would like to make his products stand out a little more in his Excel spreadsheet. What actions would help to distinguish o
    15·1 answer
  • What are the 3 dimensions referenced when we say 3D?
    10·1 answer
  • Rewrite the following using if else statement:
    14·1 answer
  • I need help converting this to python but i have no idea how to.
    12·1 answer
  • FCAPS is a network management functional model. FCAPS is an acronym that represents the focal tasks necessary to effectively man
    13·1 answer
  • When a file is used by a program, there are three steps that must be taken:
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!