subject
Computers and Technology, 28.12.2020 22:00 lee1677

What is the output of the first and second print statements? import java. util. ArrayList;

public class addExample
{
public static void main(String[] args) {
ArrayList num1 = new ArrayList ();
ArrayList num2 = new ArrayList ();
num1.add(2);
num1.add(4);

num2.add(10);
num2.add(20);

System. out. println(num1.get(0)+1);
System. out. println(num1.get(1)+ num2.get(0));

}
}

The output of the first print statement is (blank)

and the output of the second statement is (blank).

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:00
What can you find the under the privacy policy section of a shopping website?
Answers: 1
question
Computers and Technology, 22.06.2019 06:00
Which of the following is a way that advancements in technology improve humans' ability to measure air quality and protect human health? a. air quality data gathered by new instruments can be used to reduce exposure to pollutants. b. new technologies enable natural and human-made pollution sources to be located and monitored. c. air quality data gathered by new instruments can be used to predict trends in pollution over time. d. new technologies allow governments to make informed decisions about the regulation of pollution. (choose more than one)
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
Annie is creating a corporate report for a company’s annual meeting. in the report, she wants to add the signature of various department heads. which device can annie use to capture signatures to include in the report? a. printer b. monitor c. e-reader d. digitizing tablet
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Select all that apply. which of the following are proofreading options included in microsoft word? spell check find replace grammar check formatting check
Answers: 1
You know the right answer?
What is the output of the first and second print statements? import java. util. ArrayList;
Questions
question
Mathematics, 03.07.2019 06:00
Questions on the website: 13722361