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

The fuction a (n) = 3n-7 represents the value of the nth term in a sequence. What is the sum of the 1st and 5th terms of the sequence
what is the solution of the equation x to the power of 2=64
the number of hydrogen atoms in 6NH³ is ?​
The initial number of carbon-14 atoms in the organism at death is
Which are examples of the UN's work? Check all that apply
Please HELP ASAP I really need help
y=-3/4x+3 y=-12 bbbbbvvbbbbvvvvvvbbb​
is there gonna be another gremlins movies ?
Explain why the capitalist system developed in Europe. (pls explain so can understand​)
i need help.. it think the answer is 3 but I'm not sure why. can you help me figure it out? 5. all the different habitats in our world make up ______ a. biodive