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
fenix001 [56]
4 years ago
15

Write code that inserts useritems into the output string stream itemsoss until the user enters "exit". each item should be follo

wed by a space
Computers and Technology
1 answer:
Yuliya22 [10]4 years ago
5 0
If user output is ''red purble yellow exit'': red purple yellow  import java.util.Scanner;  import java. io.PrintWriter;  import java. io.StringWriter;    public class StringStreamOutput {   public static void main (String [] args) {   Scanner snr = new Scanner(Scanner.in);   Stringuseritem = '''';    StringWriter itemcharStream = new StringWriter();  PrinterWriter itemsOSS = new PrintWriter(itemcharStream);    System.out.printIn(''Enter items (type Exit to open):'');  useritem = scnr.next();    while (!userItems.Equals(''Exit'')) {  /*Your solution goes here*/     UserItem = scnr.nxt();    }     useritem = itemCharStream.toString()   System.out.printin(useritem);     return;     }    }
You might be interested in
B. List any four major drawbacks of the first generation computer​
d1i1m1o1n [39]

Answer:

Terribly low storage space, limited to mathematics/computing, required entire rooms to use, and low information yield for hours of processing.

Explanation:

3 0
3 years ago
Web servers store web pages and files that can be accessed over the ______ .
uranmaximum [27]

the answer is

internet

6 0
3 years ago
What are the differences between barcode reader and biometric input device
lyudmila [28]

Answer:

A barcode reader scans a barcode that is comm0only found on an item that you would buy from the store, for inventory purposes. A biometric device is something that requires something from the human for a form of identification. Like a fingerprint scanner that can be found on a cash register for employees or face id found on a smartphone.

4 0
2 years ago
Who invented pen drive ?​
Scorpion4ik [409]
The pen drive was invented in 1998 by IBM
4 0
4 years ago
Can you use public domain images without violating copyright laws?
Oksana_A [137]
There are no restrictions on using works that are in the public domain, which means you can use them however you want—short of claiming that you created them yourself.

Hope this helps
3 0
4 years ago
Other questions:
  • What technique is used to separate the different cell parts?
    15·1 answer
  • Amanda needs to create an informative print brochure for her local library’s fundraiser dinner. What critical detail must she ha
    14·2 answers
  • Andrew is researching a new operating system for the computers at his workplace. His boss wants the computers to be able to conn
    10·1 answer
  • Describe conductors and insulators in terms of energy
    11·1 answer
  • Help please, it would be much appreciated!
    11·1 answer
  • JAVA
    14·1 answer
  • The right to make others do things is referred to as _________.
    14·2 answers
  • Write a job back with my best Interest
    6·2 answers
  • Python uses standard order of operations to evaluate equations. True False
    5·1 answer
  • Which layer of the OSI model defines how to start, control, and end conversations by grouping messages in a workflow
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!