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

I need Help plz...!!!!
What are body systems?
Find the value of the expression for the given values. 6x-2 for x = -2, x = 6, and x = -5 If x= - 2. then 6x - 2 = If x = 6, then 6x - 2 = If x= - 5. then 6x-
find values of 3sin^2x-2cosx-3=0
The photo above shows a flat, open space. Which landform is shown in this photo? A. an isthmus B. a plain C. a depression D. a canyon
Simplify 4 to the 8th power times 4 to the 2nd power
What example is lactose and cellulose
True or False: If a point charge has electric field lines that point into it, the charge must be positive.
An example of a physical property of an element is the element's ability to
Dinosaurs became extinct hundreds of millions of years ago. Scientists have been trying to determine the cause of the extinction. There have been many different