Consider the following statement, which is intended to create an ArrayList named a to store only elements of type Thing. Assume that the Thing class has been properly defined and includes a no-parameter constructor.
ArrayList a = /* missing code */;
Which of the following can be used to replace /* missing code */ so that the statement works as intended?
A: new Thing()
B: new ArrayList()
C: new ArrayList(Thing)
D: new ArrayList()
E: new ArrayList<>(Thing)

Answers

Answer 1

Answer:

new ArrayList<Thing>()

Explanation:

The syntax to declare an arrayList is:

ArrayList [var-name] = new ArrayList<data-type>()

From the question;

We understand that the variable name is: a

And the data-type is: Thing

So, the ArrayList of type Thing can be defined using:

ArrayList a = new ArrayList<Thing>();

Hence:

None of the options answers the question.


Related Questions

A plant might be emitting some dangerous pollutants that are environmentally harmful, but completely eliminating them would be so expensive that the plant would have to close, throwing many local inhabitants out of work. Assuming there is an obligation both to preserve jobs and to protect the environment. What is the best technique that should be used to resolve this problem?
Select one:
a. The convergence and divergence techniques
b. The Utilitarian approach
c. The creative middle way
d. The line drawing technique

Answers

Answer: c. The creative middle way

Explanation:

As there is both an obligation to preserve jobs and to protect the environment, a creative middle way which involves compromise would be most effective.

The company involved should process and remove the worst pollutants alone while leaving others so that the process will not be so expensive that they have to close down.

They will do this till a better and more environmentally beneficial solution can be found at which point they can then clean up the previous pollutants with the hope that they have not irrecoverably damaged the environment.

Configuring an Active Directory Domain Controller
1.Why would an administrator want to use the MAP Toolkit?
2.Based on the results of the MAP inventory you performed in the lab, which operating system was installed on the TargetWindows02b server?
3.Based on the results of the MAP inventory you performed in the lab, which desktop and server software was installed on the TargetWindows02b server?
4.Which tasks, other than the ones performed in this exercise, can administrators use the MAP Toolkit to perform?
5.Which utility is used to transform a standalone Windows Server 2012 R2 system into an Active Directory domain controller?
6.What is the importance of SafeModeAdministratorPassword when using PowerShell to install and configure Active Directory?
7.What considerations should you take into account when choosing a domain name?

Answers

Answer:

wat

Explanation:

2.13 LAB: Expression for calories burned during workout
This section has been set as optional by your instructor.
The following equations estimate the calories burned when exercising (source):

Men: Calories = ( (Age x 0.2017) — (Weight x 0.09036) + (Heart Rate x 0.6309) — 55.0969 ) x Time / 4.184

Women: Calories = ( (Age x 0.074) — (Weight x 0.05741) + (Heart Rate x 0.4472) — 20.4022 ) x Time / 4.184

Write a program using inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively. Output calories burned for men and women.

Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
print('Men: %0.2f calories' % calories_man)

Ex: If the input is:

49
155
148
60
Then the output is:

Men: 489.78 calories
Women: 580.94 calories
299420.1660094

Answers

Answer:

ee

Explanation:

This is an over the top question

The program requires a sequence control structure; First, we get input for the variables, and then use the formula to calculate the amount of calories burnt.

The program in python is as follows, where comments (in italics) are used to explain each line.

#This gets input for age, in years

age = int(input("Age (years): "))

#This gets input for weight, in pounds

weight = int(input("Weight (pounds): "))

#This gets input for heart rate, in beats per minutes

heart_rate = int(input("Heart Rate (beats per minutes): "))

#This gets input for time, in minutes

time = int(input("Time (Minutes) : "))

#This calculates the calories burnt for men

calories_man = ((age * 0.2017) - (weight * 0.09036) + (heart_rate * 0.6309) - 55.0969) * time / 4.184

#This calculates the calories burnt for women

calories_woman = ((age * 0.074) - (weight * 0.05741) + (heart_rate * 0.4472) - 20.4022 ) * time / 4.184

#This prints the calories burnt for men

print('Men: %0.2f calories' % calories_man)

#This prints the calories burnt for women

print('Women: %0.2f calories' % calories_woman)

Please note that the program does not check for valid inputs

See attachment for program output

Read more about Python programs at:

https://brainly.com/question/22841107

Complete the following sentence.
Tim was recently released from his last job. He was very rigid and would not change a product design once he began a project. He is now working for a new engineering firm and has learned from his last mistake. He is willing to meet with clients to change the needs of each and every situation. As a result, his work is now______?

Answers

Answer:

improved

Explanation:

Why are most products the result of an innovation instead of an invention?

Answers

Answer:

they were updated rather than being created

Answer:

Invention is about creating something new, while innovation introduces the concept of “use” of an idea or method.

At a specified point on a highway, vehicles are known to arrive according to a Poisson process. Vehicles are counted in 20-second intervals, and vehicle counts are taken in 120 of these time intervals. It is noted that no cars arrive in 18 of these 120 intervals. Approximate the number of these 120 intervals in which exactly three cars arrive. Estimate the percentage of time headways that will be 10 seconds or greater and those that will be less than 6 seconds.

Answers

Do you listen to lil uzi vert because he has been dropping some bars

Ordan has _ 5 8 can of green paint and _ 3 6 can of blue paint. If the cans are the same size, does Jordan have more green paint or blue paint? Explain.

Answers

Answer:

Jordan has more green paints

Explanation:

Given

[tex]Green = \frac{5}{8}[/tex]

[tex]Blue = \frac{3}{6}[/tex]

Required

Which paint does he have more?

For better understanding, it's better to convert both measurements to decimal.

For the green paint:

[tex]Green = \frac{5}{8}[/tex]

[tex]Green = 0.625[/tex]

For the blue paint:

[tex]Blue = \frac{3}{6}[/tex]

[tex]Blue = 0.5[/tex]

By comparison:

[tex]0.625 > 0.5[/tex]

This means that Jordan has more green paints

Joe, a technician, is attempting to connect two hubs to add a new segment to his local network. He uses one of his CAT5 patch cables to connect them; however, he is unable to reach the new network segment from his workstation. He can only connect to it from a workstation within that segment. Which of the following is MOST likely the problem?
A. One of the hubs is defective.
B. The new hub is powered down.
C. The patch cable needs to be a CAT6 patch cable.
D. The technician used a straight-through cable.

Answers

Answer:

Option D. is correct

Explanation:

Joe uses one of his CAT5 patch cables to connect two hubs to add a new segment to his local network. As he can only connect to it from a workstation within that segment,  he is not able to reach the new network segment from his workstation.

The most problem is that the technician used a straight-through cable.

Option D. is correct.

Determine the period of each of the following discrete-time signals (if a signal is not periodic, denote its period by infinity)
a) cos(2pi0.15n)
b) cos(2n);
c) cos(pi0.3n) + cos(pi0.4n).

Answers

Answer:

a) it is periodic

N = (20/3)k = 20 { for K =3}

b) it is Non-Periodic.

N = ∞

c) x(n) is periodic

N = LCM ( 5, 20 )

Explanation:

We know that In Discrete time system, complex exponentials and sinusoidal signals are periodic only when ( 2π/w₀) ratio is a rational number.

then the period of the signal is given as

N = ( 2π/w₀)K

k is least integer for which N is also integer

Now, if x(n) = x1(n) + x2(n) and if x1(n) and x2(n) are periodic then x(n) will also be periodic; given N = LCM of N1 and N2

now

a) cos(2π(0.15)n)

w₀ = 2π(0.15)

Now, 2π/w₀ = 2π/2π(0.15) = 1/(0.15) = 1×20 / ( 0.15×20) = 20/3

so, it is periodic

N = (20/3)k = 20 { for K =3}

b) cos(2n);

w₀ = 2

Now, 2π/w₀ = 2π/2) = π

so, it is Non-Periodic.

N = ∞

c)  cos(π0.3n) + cos(π0.4n)

x(n) = x1(n) + x2(n)

x1(n) = cos(π0.3n)

x2(n) =  cos(π0.4n)

so

w₀ = π0.3

2π/w₀  = 2π/π0.3 = 2/0.3 = ( 2×10)/(0.3×10) = 20/3

∴ N1 = 20

AND

w₀ = π0.4

2π/w₀  = 2π/π0. = 2/0.4 = ( 2×10)/(0.4×10) = 20/4 = 5

∴ N² = 5

so, x(n) is periodic

N = LCM ( 5, 20 )

The I26 profile beam is supported and loaded as in the figure. It is required to calculate the vertical movement of the free end and the rotation of the free end.

Answers

Answer:

...

Explanation:

...

Many farms and ranches use electric fences to keep animals from getting into or out of specific pastures. When switched on, an electric current is produced in the fence. When an animal touches the electrified fence, it receives a small shock. What material would be the best choice for making an effective electric fence, and why?

Answers

Answer:

Aluminum

Explanation:

The best material to use when creating an electric fence would be Aluminum. Aluminum wiring is incredibly durable and can be easily obtained. Since aluminum is a non-magnetic metal its conducting capabilities far exceed other metallic options in the market and is also why companies choose aluminum for their high tension cable wiring. Aside from being more expensive than other feasible options its durability and conducting capabilities make it easily the best option.

Answer:

Steel Wires

Explanation:

International house of pancakes

Consider the following statement concerned with the collection of data, and determine the best selection of terms to complete the statement: "The entire group of objects or peopleabout which information is wanted is called the __________ . Individual members are called _____________. The _________is the part that is actually examined in order to gather information.

a. population, units, sample
b. sample, units, target population
c. response group, respondents, nonresponse group
d. population, dependend variables, subgroup

Answers

Answer:

a. population, units, sample

Explanation:

In a survey or in a research, population is defined as the total number of people or total number of items in the group that we want to study in a research. It is the entire pool from where a sample is drawn.

An unit is defined as the individual members for which the information or data is collected.

A sample is defined is defined as the group or part of the selection from where the information or data is to be obtained.

The overall group of people should be known as the population.

The individual members should be units

And, the sample represents the part that should be examined.

What are population, units, and the sample?

The population refers to the total no of people or items that are required to be studied for the research purpose. In this, the sample should be drawn. The unit refers to the individual members due to which the data should be collected. And, the sample means the portion of the selection from where the data should be collected.

Therefore, the option a is correct.

learn more about population here: https://brainly.com/question/19203964

Which option identifies the type of engineer described in the following scenario?

Sean is an engineer whose current project is a skyscraper in Richmond, VA. He relies heavily on geometry in his research of building design.

Material

Civil

Mechanical

Chemical​

Answers

Answer:

civil

Explanation:

mark be branilist

Answer:

Civil

Explanation:

civil engineering – the application of planning, designing, constructing, maintaining, and operating infrastructure while protecting the public and environmental health, as well as improving existing infrastructure that may

Distinguish and describe the stage of the product development life cycle reflected in the following scenario.

Mindy, a recent transplant to the Midwest from the Southwest, has a great idea for building a corn roaster and taking it to state and county fairs and festivals in Michigan and Minnesota. However, she determines that the cost to grow sweet corn throughout the year would be prohibitively expensive.

Answers

Answer:Very productive

Explanation:

What is a three-dimensional rendering of a product concept called?
O a custom product
o a model
O a project plan
O a concept sketch

Answers

Answer:

B. a model

Explanation:

A three-dimensional rendering of a product concept is called a model.

An example of a model used in computer programming is the software development life cycle (SDLC) model.

Software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software applications.

Some of the models used in the software development life cycle (SDLC) are;

I. A waterfall model: it can be defined as a process which involves sequentially breaking the software development into linear phases. Thus, the development phase takes a downward flow like a waterfall and as such each phase must be completed before starting another without any overlap in the process.

II. An incremental model: it refers to the process in which the requirements or criteria of the software development is divided into many standalone modules until the program is completed.

III. A spiral model: it can be defined as an evolutionary SDLC that is risk-driven in nature and typically comprises of both an iterative and a waterfall model. Spiral model of SDLC consist of these phases; planning, risk analysis, engineering and evaluation.

What role does the president play in developing the federal budget?
A. The president has control over all discretionary spending in the
budget.
B. The president either vetoes the budget and sends it back to
Congress or signs it into law.
C. The president determines which spending programs will be
mandatory.
D. The president decides whether to approve the House or the Senate
spending bill.

Answers

The role a president plays in developing the federal budget is: B. The president either vetoes the budget and sends it back to Congress or signs it into law.

What is a federal budget?

A federal budget can be defined as a financial plan that is used by the government for the estimation of the revenue and expenditures of a country, especially for a specified period of time, which is often one year.

This ultimately implies that, federal budgets are usually compiled, analyzed and re-evaluated on periodic basis by the executive or federal government of a country.

Generally, the role of a president in developing the federal budget is to either veto the budget and sends it back to Congress or sign it into law.

Read more on budget here: https://brainly.com/question/13964173

Answer:

Explanation:

B. The president either vetoes the budget and sends it back to

Congress or signs it into law.

An NMOS transistor with kn = 1mA/V2 and Vt = 1V is operated with VGS = 2.5V. At what value of VDS does the transistor enter the saturation region? What value of ID is obtained in saturation?

Answers

Answer:

a) the point at which the transistor enters the saturation region is 1.5 v

b) the value of ID is obtained in saturation is 1.125 mA

Explanation:

Given the data in the question;

for an NMOS, the condition for the saturation is;

V_DS ≥ V_GS - V_t

V_GS is 2.5 v and V_t is 1 v

so we substitute

V_DS ≥ 2.5 - 1

V_DS = 1.5 v

so the point at which the transistor enters the saturation region is 1.5 v

The drain current I_d in the saturation region;

I_d = 1/2×μₙ×Cₐₓ×W/L×( V_GS - V_t)²

= 1/2Kₙ (  V_GS - V_t)²

our Kₙ is 1 mA/V², V_GS is 2.5v and V_t is 1 v

so we substitute

I_d = 1/2(1 mA/V²)( 2.5 - 1 )²

= 1/2(1 mA/V²)( 2.25)

= 1.125 mA

therefore, the value of ID is obtained in saturation is 1.125 mA

In the United States, a bicyclist is killed:
A. (Every 12 hours
B. Every week
c. Every day
D. Every 6 hours

Answers

D I FOUND THE ANSWER

In the United States, it should be noted that a bicyclist is killed every six hours.

The cause of the accidents has been attributed to the rough driving of vehicle drivers and some faults are on the part of the cyclist as well.

Rapidly overtaking a bicycle is dangerous. Also, there are some vehicle drivers who drive into the lanes that are meant for cyclists. This isn't appropriate.

Drivers should ensure that they are not close to the cyclists when driving as there should be a space of at least 3 feet between the bicycle and the vehicle.

Furthermore, when there is a narrow traffic lane, the vehicle drivers should ensure that there's a clear traffic in the opposite lane before they change their lanes.

Lastly, both the cyclists and the vehicle drivers should not overspeed and drive safely.

Based in the information given above, the correct option is D.

Read related link on:

https://brainly.com/question/20937766

World Without Engines: Explain what todays world without engines would be like? How would it change your life? The world? The way we do things? Please write in paragraph format and include introduction, body, and conclusion. DON'T ANSWER UNLESS YOU HAVE THE ANSWER!!!!!!!!! I WILL MARK BRAINLYEST

Answers

Answer:

the world will not be the same it will change dramticily and

things will not be the same

Explanation:

Examine the pressure-measuring device shown in the figure below. (a) What is the gauge pressure reading in psi at point A? (b) What is the pressure difference between point A and B? (c) Which is higher, pressure at point A or at point B? (d) What is the absolute pressure in psi at point D? State any assumptions you made

Answers

Answer: 45

Explanation:just cuase I need to

Single-use earplugs require a professional fitting before they can be used.

Answers

what are you asking? are you asking if it is true or false? sorry :(( i can help you tho!

In the context of electronics, the term "ground" is often used to refer to:

1: the negative battery terminal
2:the breadboard
3:the circuit diagram
4:the components
Which one is the answer

Answers

Answer:

1: the negative battery terminal

Explanation:

When we design and develop an electrical circuit in electrical and electronics engineering, it is important that we define a reference point for all electronic signals from which we can measure voltage. Although, the voltage passing through a reference point in an electrical circuit is typically 0 Volts.

Also, a ground is a common return path in an electrical circuit for the current flowing through the circuit.

When working on a direct current (DC) circuit that is mainly operated using a battery, the negative terminal of the battery would be the ground (reference point) for all the components connected to the electrical circuit.

Hence, in the context of electronics, the term "ground" is often used to refer to the negative battery terminal.

Unionized workers often earn more money than non-unionized workers.
O False
O True

Answers

I think it might be false correct me if I’m wrong

Answer:

Its true

Explanation:

false is wrong because I chose it and got it wrong lol

Implement the following Matlab code:
x=zeros(10,128);
t1=[0:1/128:1-1/128];
z=cos(2*pi*2*t1);
x(1,:)=z;
x=reshape(x,1,1280);
figure(1);
plot(x)
Examine Figure 1 – what does it “look like”? Zoom in. Take the FFT of x and explain what you see.
Manipulate the FFT and perform the IFFT to create a signal which is a continuous (i.e. no interpolating zeroes) sinusoid in the “time” domain. Explain the amplitude of the sinusoid.

Answers

28384 *x soít cos estematema

The amplitude of the sinusoid is 28384 *x soít cos.

What is amplitude?

Amplitude is defined as the greatest deviation from equilibrium of a point on a vibrating body or wave in terms of displacement or distance traveled. In most cases, amplitude is calculated by looking at a wave graph and determining the height of the wave from rest. The strength or intensity of the wave is gauged by its amplitude.

Sinusoid is defined as a signal with sine wave characteristics. In the liver, spleen, and bone marrow, sinusoids and irregular tubules transport blood in place of venules and capillaries. The sine or cosine functions from trigonometry form the foundation of sinusoidal signals, which are periodic functions.

Thus the amplitude of the sinusoid is 28384 *x soít cos.

To learn more about amplitude, refer to the link below:

https://brainly.com/question/8662436

#SPJ2

Other Questions
The least amount of solar energy on an annual basis is experienced at The Mughal Empire was formed by the descendants of what legendary leader?(If the answer is other say who it is)A. Alexander the GreatB. Julius CeasarC. Ghengis KhanD. CleopatraE. other 3r + 7 = -8 what does r = A poodle puppy weighs 1.5 kg when it is born and gains 0.04 kg each day.A golden retriever puppy weighs 1.2 kg when it is born and gains 0.1 kg each day.How many days will it take for the two puppies to weigh the same amount? PLLSS HELP ME ty :))) Find the resultant of two displacement vectors A and B shown below. The magnitude of A is 20m, and the magnitude of B is 30mComponents A: ____ ____Components B: ____ ____ 18Which of the following is a similarity between socialism and communism?A both allow free market systemsB both allow freedom in work choices for the peopleC bothhavelowtaxation policiesD both have strong involvement of the government You are trying to decide how to increase the amount you save. What could you do? When you get a pay raise, save the increase from each paycheck Each day drop your change in a jar and deposit it when the jar is full. When you get a pay raise, save a portion of the raise from each paycheck Save any extra money that comes in such as birthday gifts or bonuses from work. Save any money that is left over at the end of each pay period. PLS HELP ME! Joye has a circular garden with a diameter of 24 feet. If she uses 2 cups of fertilizer for every 10 square feet, how much fertilizer will Joye use for her garden? Use 3.14 for pi Abshir is a visiting professor at the local university. Abshir was a graduate student from August 2011 to July 2013 in F-1 immigration status. He re-entered the United States on December 20, 2016 in J-1 immigration status. For federal income tax purposes, Abshir is a resident alien for 2017.a) trueb) false Un hombre desea levantar una piedra de 150 kg utilizando una palanca de primer gnero que mide 5 metros. Qu fuerza deber realizar si el fulcro se encuentra a 150 cm de la piedra? Aqu tenemos que tener en cuenta que P(peso) =m(masa). G (gravedad) (Datos adicionales g(gravedad) = 9.8 m/s2). anybody know this one ben sells greeting cards for $5 each in his online store. He also charges $1.99 for shipping. The total cost, y, of an order from Bens store is found using the equation y = 5x+ 1.99, where x is the number of cards bought. Which quantity represents the dependent variable in this problem situation? PLEASE HELP BRAINLIEST AND POINTSWhich of these happened during the century that followed the Pax Romana?A. The Roman Empire expanded further, reaching Hindu Kush B. The Rome military led a major revolt C. Roman leaders invaded territories outside the Roman Empire.D. Rome went through many leaders as men fought for power over the empire. what is the value or |-12.7| and |11.1/4| ? What motivates the speech and behavior of allthree women?o their concern for what society thinkstheir belief that marriage is essentialtheir love for Lancelottheir desire to be artistsDONELOUS Activity A committee is to consist of two members. If there are seven people available to serve on the committee, how many different committees canbe formed 3/5+1/3= ............................................................................................................... I NEED HELP ASAP> FIRST IS BRAINLIEST.Info is in the picture. 80 POINTS. 3/4 of x, if x= 15/28PLS HELP!!!