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
astraxan [27]
3 years ago
7

What is wrong with each of the following code segments? int[] values; for (int i = 0; i < values.length; i++) { values[i] = i

* i; }
Computers and Technology
1 answer:
tino4ka555 [31]3 years ago
7 0

Answer:

values have been declared but not initialized nor allocated memory. So you are not allowed to use "values.length"

You might be interested in
True or false? the name of a named standard acl is case sensitive.
lys-0071 [83]
<span>The name of a named standard acl is case sensitive.  The answer is True.  </span><span>As with standard IP ACLs, you can create </span>named<span> extended IP ACLs. But always remember, ACL </span>names<span> are </span>case-sensitive<span>, and the underscore is not the same as the dash (hyphen).</span>
3 0
3 years ago
Which testing is an example of non-functional testing? A. testing a module B. testing integration of three modules C. testing a
Serga [27]

Answer: D

Explanation:

5 0
3 years ago
Write a script that will calculate a person’s weight on each planet of the solar system, the sun, and the moon. You should creat
user100 [1]

Answer:

to.use his you should use qbasic and type as it os at last press f5 to see ans

8 0
3 years ago
Write a python program stored in file extra_credit.py that takes three different inputs from the user where : First Input: The p
LUCKY_DIMON [66]

Answer:

Check the explanation

Explanation:

print("************************************************************")

sentence = input("Enter a sentence : ").split()

replace_words = input("\nEnter the words that should be replaced : ").split()

special = input("\nEnter the replacing special Character : ")

result = []

for word in sentence:

   if word not in replace_words:

       result.append(word)

   else:

       result.append(special * len(word))

result = ' '.join(result)

print("\nThe Sentence with words censored is : " + result)

print("************************************************************")

4 0
3 years ago
What does % find on edhesive??
statuscvo [17]

Answer:

Explanation: What is that word you typed?

3 0
3 years ago
Other questions:
  • Click to review the online content. Then answer the question(s) below, using complete sentences. Scroll down to view additional
    7·1 answer
  • If you delete a view, account administrators can recover the view using the "trash can" function within how many days?
    7·2 answers
  • Three healthcare firms jointly own and share the same cloud resources to meet their computing needs. Which cloud model does this
    15·1 answer
  • "the most common way to access the internet is through ________."
    5·1 answer
  • A 6.7 kg object moves with a velocity of 8 m/s. What's its kinetic energy?
    6·2 answers
  • All states that have altered judicial selection techniques in recent years have adopted some form of:
    5·1 answer
  • Which type of device often controls IoT tasks?<br> Desktop<br> Laptop<br> Smartphone<br> Switch
    8·1 answer
  • Which language will report a compilation error for the following snippet of code? int i = 3; double n, j = 3.0; n = i + j; Group
    11·1 answer
  • Which similar computer network components connect multiple devices?
    7·1 answer
  • 10. Site-to-Site VPN architecture is also known as
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!