heyyyyy2233 heyyyyy2233
  • 11-10-2022
  • Computers and Technology
contestada

write a statement that creates an arraylist object named frogs . the arraylist should hold string s. note: do not use the var keyword in your statemen

Respuesta :

lhmarianateixeira
lhmarianateixeira lhmarianateixeira
  • 20-10-2022

Using the knowledge in computational language in JAVA it is possible to write a code that creates an arraylist object named frogs and the arraylist should hold string s.

Writting the code:

     var frogs = new ArrayList<String>();

     frogs.add("Frog 1");

     frogs.add("Frog 2");

     frogs.add("Frog 3");

     System.out.println(frogs);

See more about JAVA at brainly.com/question/12975450

#SPJ1

Ver imagen lhmarianateixeira
Answer Link

Otras preguntas

Although English and French are the official languages of Canada only about 15 percent speak
Was U.S. involvement in Hawaii and Cuba morally right or wrong? Explain
what materials did greeks use in art
How do u simplify this
The Glorious Revolution was a
PLEASE HELP!!!! Mia has had five credit accounts for 10 years. She has a debt of $2,000 and makes all of her payments on time every month. Sal also makes timel
HELP ME!! WIL GIVE POINTS!! Question 7 (4 points) (05.04 LC) Match the term to its description. Column A 1. Prominences : Prominences 2. Solar flares : Sol
Which of these defines Rationalism ?
Estoy muy contenta porque el mes que viene voy a viajar a Montelimar para tomar unas vacaciones. He estado pensando en el viaje y quiero decirte qué me gustaría
There are 10 people and each person gets 9 cookies. How many cookies are there total?