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
Juli2301 [7.4K]
3 years ago
5

Write java code that displays all the objects in a stack in the order in which they were pushed onto it. after all the objects a

re displayed, the stack should have the same contents as when you started. files to be submitted: taskademo.java arraystack.java stackinterface.java
Computers and Technology
1 answer:
kolbaska11 [484]3 years ago
7 0
Let's assume you have a stack called "s".
You can very simply print each element out using a for each loop (the iterable (as shown below), or a classic for each loop, if you prefer). This method does not modify the stack in any way.

s.forEach(System.out::println);
You might be interested in
What’s ur guys rank of all 3D Mario games (all of these are great games btw)? These are my opinions I’d rly enjoy hearing yours.
Blizzard [7]

Answer:

super mario galaxy best of all time

Explanation:

3 0
3 years ago
Abby is creating a professional development plan to advance in her current career. She has identified what job she wants and wha
Andre45 [30]

Evaluate her current skills and identify areas of improvement

5 0
3 years ago
Which search engine optimization technique involves sending data describing your web site to the search engines and then paying
vazorg [7]

Answer:

Search feeds.

Explanation:

Search feeds seem to be the search engine optimization strategy includes transmitting information to those of the search engines that explaining the user's website and afterward charging the fee to assure that is pages would be included in the site engine listing.

So, the following answer is correct according to the given scenario.

8 0
3 years ago
1. Conflict resolution is the process of solving disputes and disagreements.
gtnhenbr [62]
1. Conflict resolution is the process of solving disputes and disagreements.

A. True


2. Project managers have the overall responsibility for planning, executing, and completing a project.

A. True


3. Read the following scenario:

A project will require more people than originally estimated.

Identify the possible risks to the project.

B. Money and resources


4 0
3 years ago
Calculate and express your answer in decimal form.
mr Goodwill [35]

Answer:

ポイントが欲しいだけなのかわからない

Explanation:

何語を話していますか

5 0
3 years ago
Other questions:
  • 19. Which network topology is a combination of two or more types of physical or two or more types of logical topologies? A. Poin
    8·1 answer
  • How do you perceive the importance of Internet?
    6·2 answers
  • What does it mean to say RAM is volatile? *
    9·1 answer
  • ________ is the standard communications protocol used on most client/server networks.
    9·1 answer
  • A(n) _____ is someone who uncovers computer weaknesses and reveals them to manufacturers or system owners, without exploiting th
    15·1 answer
  • Create an application containing an array that stores 10 integers. The application should call five methods that in turn (1) dis
    8·1 answer
  • What does the CYMK tab let you do?
    5·2 answers
  • Julie is purchasing new shoes on a website for her favorite store. Which of the following would indicate that a website is a sec
    6·1 answer
  • Portable Document Format is a proprietary document file type created by Adobe Systems that is compatible with most computer syst
    7·1 answer
  • Why hand tools are important in repairing personal computer?​
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!