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
sergij07 [2.7K]
3 years ago
6

The following questions requires manipulation an analysis of String objects. a. Create a class named String_Manipulation with a

main method. All code in parts b. - g. should be written in this method. b. Create a Scanner object to read user input from the keyboard. Name the Scanner object anything you like. 1 c. Create a String object named userStr, ask the user for a String and read the String from the user and store it in userStr.
Computers and Technology
1 answer:
Allisa [31]3 years ago
4 0

Answer:

It is the letter B, since it is obtaining more information than the previous ones. the information you provide is easier than clarifying

You might be interested in
Before making a dish, we want to check whether we already have the necessary ingredients in our pantry or whether we need to go
Leona [35]

Answer:

class Pantry(AD):

              def __init__(self, ingredients):

""" We initialize the Pantry class by passing the ingredients that were passed in to the initializer for the superclass AD"""

              super().__init__(ingredients)

              def needed_ingredients(self, recipes):

""" Given a list of recipes, computes which ingredients to buy, and in which quantity to be able to make all recipes. Can be implemented in 10 lines of code."""

              # define the object new_pantry to contain the ingredients needed

               new_pantry = Pantry({})

                ingredients_present = self

                # loop over the recipes in the list

                for recipe in recipes:

                        # convert ingredients of recipe from AD to Pantry

                        ingredients = Pantry(recipe.ingredients)

                        # subtract the recipe's ingredients from ingredients_present

                          ingredients_present = ingredients_present - ingredients

                        # loop over the ingredients_present for key in ingredients_present:

                       # if any ingredients's quantity < 0, add it to new_pantry

                                                           if ingredients_present[key] < 0:

# check if ingredient is present in new_pantry, add the quantity to existing quantity

                                                               if key in new_pantry:

                                            new_pantry[key] += -1*(ingredients_present[key])

else: # if ingredient is not present in new_pantry, make a new entry for the ingredient

                                               new_pantry[key] = -1*(ingredients_present[key])

ingredients_present[key] = 0      # set the quantity of the ingredient in ingredients_present to 0

Explanation:

I believe everything else is provided in the question.

Copy all the details you were provided in the question as it is and add the needed_ingredients in the Pantry class.

If you are getting any assertion error, Update the code to set the negative quantities in ingredients_present to 0

6 0
3 years ago
A forwarded message ____.
nadya68 [22]

Answer:

C. does include the email addresses of previous recipients and senders

Explanation:

When using email services, you can see functions such as send, forward, reply, reply all. For forwarded messages, when a user tries to forward a message to a recipient, it does not include the email address of previous recipient and senders because the aim of forwarding is to send to new recipients and hence it does not have anything to do with previous senders or recipients.

4 0
3 years ago
how do you make a 3d project im a huge programer and I need to know how to do it or all I do will be considered retro gaming
aivan3 [116]
Bacon, go to the bacon! WORSHIP THE BACON!!!!!!!
6 0
3 years ago
Select all statements that correctly describe the ramifications of important features supported by modern DBMS.
lara [203]

Answer:  

"Option b and Option d" is the correct option for this question.

Explanation:

In the database, datatype belongs to the information storage medium, which can hold a specific type of value. There are several data types, which is used in database like integer, character, series, floating-point and array numbers, and the rules, that give levels of security to information are known as a security constraints. It may be either developed as rules on integrity, mathematical formalism rules or schematic rules, and other choices were wrong which can be described as follows:

  • In option a, The asserts, which is in any exchange in a database, should only modify the information, that is effected in acceptable ways is called consistency, that's why it is wrong.
  • In option c, The validity and accuracy of the data in the database can not be ensured, that's why it is wrong.
3 0
3 years ago
Disney's first cartoon
lora16 [44]

Answer:

Mickey Mouse

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • 12. Which of the following is a complex formula?
    13·2 answers
  • What security principle does a firewall implement with traffic when it does not have a rule that explicitly defines an action fo
    13·1 answer
  • 1. Defines and uses an interface block to connect to the test program and the DUT. The interface block should also contain a clo
    11·1 answer
  • Memory, as a general construct, is best defined as A) the ability to briefly retain information in the senses. B) the long-term
    12·2 answers
  • How do open online courses help with independent learning
    6·2 answers
  • 9. The monumental failure of Atari's E.T Extra-terrestrial was, among other things, due to the fact that ______________
    5·1 answer
  • Choose all of the items that represent parts of an operating system.
    6·2 answers
  • Write a program named as reverse.c that reads a message, then prints the reversal of the message. The output of the program shou
    7·1 answer
  • Which two items define a person's online identity? (choose two)
    15·1 answer
  • How ict tools changed the way we live explain it​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!