Please help!! Lots of points and Tommyinnit! Assume that the following code exists inside a method of the class MyClass, and that this code compiles without errors:


int result = book.getYearPublished();


where book is an object of the Book class.


Which of the following is true about the getYearPublished method?


I. It is an accessor method.

II. It is a public method in the Book class.

III. It returns a String.


Answer choices.

I only

II only

III only

I and II only

I and III only

Answers

Answer 1

Answer:

1 and 11 only

Explanation:

Accessor methods reads from objects defined in a class, the getYearPublished() method can be deemed to be an accessor because it reads from the book object, the year in which a book was published. The returned value in the declared variable is int result which indicates that an integer value is expected to be read and returned by the getYearPublished() method. Hence, we can conclude that an integer is value is returned rather than a string. The getYearPublished() is expected to be public because class methods have no access to private members.

Answer 2

Answer:

1 and 11 only

Explanation:


Related Questions

Freud was an influential and controversial psychologist who believed that psychology should study the unconscious mind. Describe
the two books Freud published in the early 1900s. (Site 2)

Answers

1. The Interpretation of Dreams (1899)
Freud wanted to prove that dreams are capable of being interpreted. To “interpret a dream” it means to declare it meaning. The dream is no psychic action but is known as the somatic process, by asserting itself even though the dream is incomprehensible it cannot deny its significance. Freud has the idea that the dream is a symbolic representation of future events. Another idea was called the “cipher method”, it treats dream like a secret code where every sign is translated into a sign with known meaning. Freud continues to expand on understanding the meaning behind dreams, through different types of research.
2. Beyond The Pleasure Principle (1920)
Within this book, Freud indicates that humans struggle with two opposing drives. One being Eros, which is the production of creativity, sexual connection, reproduction, self-preservation, etc. The other drive is known as the “death-drive”, this brings destruction, aggression, compulsion, self-destruction. Freud implies that the process of creating living cells creates that chemical imbalance. The pressure, called molecular diffusion, is the exhaustion of battery, making it hard to come back from this state as it is now present in every living cell.

Answer:

"The Interpretation of Dreams": Freud noticed that dreams played an important role in his analysis of neurotic and "hysterical" patients. When he asked his patients to talk about whatever came into their minds, they often referred to their dreams, which would set off other associations and often illuminate other important connections in their past experience. It took Freud about two years to write the book, finishing it in September 1897.

Explanation:

According to the multiple-nuclei model, which of the following scenarios is MOST LIKELY to occur if a baseball stadium is built near the edges of a city's boundaries?

High-priced homes will be built slightly farther out along major transportation lines.

A multifamily residential zone will be built nearby.

New retail development will center around the stadium.

Light industry will move outward from the core to the stadium.

Other major projects such as an airport or a hospital will be located nearby.

Answers

Answer:

New retail development will center around the stadium.

Explanation:

Got it right on the test

According to the multiple-nuclei model, if a baseball stadium is built near the edges of a city's boundaries, it is MOST LIKELY that new retail development will center around the stadium.

What is multiple-nuclei model?

The multiple-nuclei model is a theory of urban geography that suggests that cities are not uniform, but instead are composed of multiple centers of activity or nuclei that interact with each other.

The multiple-nuclei model suggests that cities are not uniform, but instead are composed of multiple centers of activity or nuclei that interact with each other.

These nuclei may include residential areas, commercial districts, industrial zones, and transportation hubs, among others. The construction of a baseball stadium would create a new center of activity that would attract businesses and development in the surrounding area.

As a result, new retail development is likely to center around the stadium.

Learn more about multiple-nuclei model at:

https://brainly.com/question/30560813

#SPJ2

please help me due today

Answers

I think it’s the middle one
B. M,J,DB,S,G,P,C,L,A

Explanation ...

How might residents of Dallas benefit from knowing mosquito population trends?

Answers

The correct answer to this open question is the following.

Although there are no options attached, we can say the following.

The residents of Dallas might benefit from knowing mosquito population trends in that they could take actions on time to prevent themselves from any outbreak of mosquito's disease and have the proper precautions and medicines in case of a mosquito bite.

Let's remember that the area of Dallas, Texas suffered from an outbreak of the Mosquito virus known as the West Nile virus in 2012. Compared to 2011, the mosquito population increased considerably. It was probably the heat. And mosquitos quickly spread the virus.

It should be noted that the population trends of the mosquito are important to take necessary actions and o prevent the spread of malaria.

Population simply means the number of organisms that are growing in a particular geographical area.

In this case, the population trends of the mosquito is important to take necessary actions and to prevent the spread of malaria. This is also important in looking for ways yo curtail the mosquitoes and eradicate them.

Learn more about population on:

https://brainly.com/question/25630111

What purpose do the winding tubes on a brass instrument serve?
A. They allow for different rhythms to be played.
B. They allow for different pitches to be played.
C. They are for looks only.
D. They can change how loud or soft the music is played.
this is in music btw

Answers

I believe the answer is B.

In the first sentence of the second paragraph, the author includes the parenthetical statement about the "sensible writer" primarily to
A
acknowledge that she is not well acquainted with the writer's works
B
imply that her audience should recognize the source of the paraphrase even though she does not name the source
C
complain about the lack of availability of the writer's book during her travels
D
apologize in advance if she is not a reliable reporter of the source's words
E
admit that she may be misrepresenting the writer's original intentions

Answers

Answer:

the answer is d

Explanation:

The branches that carry neural messages from the cell body and transmit them to the next neurons are the

-axons
-synapses
-dendrites
-nerves

Answers

answer:
dendrites

explanation:
the definition of a dendrite is a short branched extension of a nerve cell, along which impulses received from other cells at synapses are transmitted to the cell body.

Which technique allows researchers to image the anatomy of the brain and measure the activity of specific parts of the brain.

-MRI Magnetic Resonance Imaging
-EEG Electroencephalogram
-PET Positron Emission Tomography
-fMRI Functional Magnetic Resonance Imaging

Answers

Answer:

MRI

Explanation:

I believe

answer:
EEG - Electroencephalogram

explanation:
the purpose of an electroencephalogram is to detect electrical activity in your brain using small, metal discs attached to your scalp.

What is the approximate area of the triangle below?


73.1 sq. cm.
111.7 sq. cm.
141.4 sq. cm.
164.7 sq. cm.

Answers

Answer:

73.1 cm²

Explanation:

We need to know at least two of the side lengths of the triangle that makes one of the angles given an included angle.

Find the measure of the third angle, the angle that is opposite 14 cm:

Thus,

180 - (95 + 35) = 50°

Using Sine rule, let's find the side length that is opposite to 35°:

Let the side length opposite to 35° be represented as "x".

Thus:

x/sin(35) = 14/sin(50)

Multiply both sides by sin(35)

x = 14/sin(50) × sin(35)

x = (14×sin(35))/sin(50)

x = 10.5 cm (nearest tenth)

✔️Use ½*a*b*sin(C) to find the area

where,

a = 14 cm

b = 10.5 cm

C = 95°

Plug in the values

Area = ½*14*10.5*sin(95)

Area ≈ 73.1 cm²

Answer: A   73.1

got 100% on quiz :)

Which of the following is not an example of how renewable biofuels could replace nonrenewable resources?
A) Wood chips could replace methane.
B) Sugarcane and corn products could be used to burn instead of coal.
C) Palm oil from renewable trees could replace nonrenewable biodiesel.
D) Residues from animals such as manure could replace the use of methane.
E) Residues from agricultural sources could be used as fuel.
Please select the best answer from the choices provided

Answers

Answer:

I believe E.

Explanation:

Answer:

B)

Explanation:

Sugarcane and corn can't burn at the same temperatures as coal.

In what ways is plate tectonics related to the formation of Earth's crustal features?

Answers

The plates can move toward one another, causing a subduction zone, or they can move away from one another which produces a mid-ocean rise.

Describe each stage of prenatal development.

Answers

Answer:

"The process of prenatal development occurs in three main stages. The first two weeks after conception are known as the germinal stage, the third through the eighth week is known as the embryonic period, and the time from the ninth week until birth is known as the fetal period."

Explanation:

From a text.

Answer:

There are 3 main stages in prenatal development...

1. Germinal

2. Embryonic

3. Fetal

Explanation:

Germinal is the first two weeks after conception.

Emryonic stage is when all the major organs and structures form.

Fetal stage is when the sex organs began to form and the muscles and bones form, while the fetus begins to move inside the uterus.

What is the difference between a price floor and a price ceiling?

A price floor is the minimum price allowed for a good. A price ceiling is the maximum price allowed for a good.
A price floor is the maximum price allowed for a good. A price ceiling is the minimum price allowed for a good.
A price ceiling below the equilibrium price has no effect.
A price floor above the equilibrium price has no effect.

Answers

The first one ☝
A price floor is the minimum price allows for a good. A price ceiling is the maximum price allowed for a good

Answer: the first alternative would be correct

its A

Explanation:

Why do Grant and Jen complete this challenge for six months? Why not 10
years?
*

Answers

More information please!!!

Answer:

Canada-based filmmakers Grant Baldwin and Jen Rustemeyer wanted to find out how mu h of that food is still good, and if they could eat it, so they came up with a challenge, to survive on food waste for six months... So we could pay for it. but we found that most places would not sell is dated food.

Hope this helped <3

In terms of chemical content, the fluid on the outside of neurons is similar to
-drinking water
-distilled water
-the chlorinated water in a backyard swimming pool
-seawater

Answers

It maybe seawater...if I’m correct but it depends on which element that you are talking about

The outside neurons are mainly composed of dissolved salts and or other chemical substances

What types of food, especially for breakfast, keep your energy levels even all day long?
Low-sugar
High-fiber
High-protein
All of the above

Answers

All of the above (correct me if I’m wrong) :)

A particulate representation of F2(g) is shown above its formula in the equation below. Using the key provided, draw particulate representations of CH4(g) and the two product molecules of the reaction above their formulas in the equation.

Answers

Answer:

here :) i know it's not pretty

Explanation:

In the context of the passage as a whole, the author's description of her teacher's views in the middle of the first
paragraph ("I am quite ...questioned") is best characterized as a
А
frank reconsideration of an early assessment of the teacher's intelligence
B
careful reflection on the biases that influenced her teacher's judgment
с
calculated effort to expose an unfit teacher to the public's disapproval
D
satisfying resolution to a long-standing puzzle from the author's youth
E
moving depiction of the lasting effects of a painful childhood event

Answers

Answer:

It is B.

Explanation:

True or false

1. Like the VOC “men-on-the-spot” in Java, the British relied heavily on Indian troops recruited throughout the sub- continent to help them maintain order in their India colony.

2. The price of German support for the ‘Young Turks” gaining autonomy in local government, was the allowance for a German railway to be built across Mesopotamia and for German interference in dealing with Turkey’s old “friends.”

3. Representative of economic imperialism, the profits from the precious metals and minerals extracted from Africa’s mines or the rubber grown in Malaya went mainly to European merchants and industrialists.

4. The basic goal of pan-Slavism was to unite all Slavs in the Balkans and in Russia under the political leadership of the tsar, thus making the Balkans territorially a part of Russia.

5. Belgian rule in the Congo was based on the “colonial trinity” of state, missionary, and private interests—commercial interests that sent large amounts of capital into the Congo causing its various regions to become specialized.

Answers

True true false true false

AP PSYCHOLOGY
compare and contrast hormones and neurotransmitters​

Answers

Hormones: they are the chemicals of the endocrine system used to send messages to organs and tissue throughout the body

neurotransmitters: a chemical substance released at the end of a nerve fiber at the arrival of a nerve impulse, by diffusing across the synapse, which then causes the transfer of the impulse to another nerve fiber, etc.

Hormones and neurotransmitters are equally both similar and different in many ways. A characteristic that they both share, is that they are both forms of sending messages into the body. The only difference being, a neurotransmitter is sends signals to balance target cells, aka muscles or glands. Hormones send messages and signals throughout the body and organs.

Click this link to view O*NET’s Work Styles section for Emergency Medical Technicians. Note that common work styles are listed toward the top and less common work styles are listed toward the bottom. According to O*NET, what are common work styles needed by Emergency Medical Technicians? Select four options.

stress tolerance
dependability
automation
integrity
aggressiveness
self control

Answers

Answer:

it is ABDF

Explanation:

Answer:

BCEF

Explanation:

just did it

What similarities are there in growth of the human population compared to animal/plant populations?

Answers

Answer:

The similarities in the population growth of humans with respect to plants and animals is that, in the three cases, the growth occurs exponentially with respect to the initial number of specimens: thus, if there are 100 humans, 50 of each gender, 50 new individuals may appear; the same happens with animals and plants: each species is reproducing exponentially to the procreative pairs that previously existed.

Explain the economic sectors of Thailands economy. Your answer should include specific economic activities within the country.

Answers

Answer:

Thailand had a labor force of 39 million people, out of its 69.8 million population. Its economy is heavily based on agriculture, which contributed 8% of the GDP and employed 31.2% of the active population. The main Thai industries are electronics, steel and automotive.

Explanation:

Prompt
In the period 1750-1900 CE, new political ideologies emerged as the world became more modern, industrial and enlightened.
Develop an argument that shows how the Enlightenment impacted the development and course of revolution(s) around the world.

Answers

The correct answer to this open question is the following.

It is correct to say that in the period 1of 750-1900 CE, new political ideologies emerged as the world became more modern, industrial, and enlightened.

The Enlightenment impacted the development and course of revolution(s) around the world in that many brilliant thinkers and philosophers of the Enlightenment came up with novel ideas about new forms of government, citizens' rights, social contract, equality, liberty, and private property.

Philosophers like John Locke, Thomas Hobbes, Voltaire, Jean-Jaques Rosseau, and Baron de Montesquiou, were some of the brilliant men than influenced the founding fathers of the United States and the Revolutionary War, as well as the French Revolution or the Independence of México.

For instance, many ideas of the Enlightenment influenced the founding documents of the US such as the Declaration of Independence. For instance, the people's right to be free by its own nature. People born free and their liberty is sacred. Another Enlightenment idea is the power of people to be governed by the right kind of people and citizens can decide to remove them. And of course, the responsibility of the government to protect its citizens.

Describe how reciprocal determinism works.

Answers

Reciprocal determinism states a persons behavior are influenced by personal factors and the environment around them, social stimuli.

7. What amount is closest to the current national debt of the United States? *
350 Million
O 500 Billion
O 27 Trillion
O One Million Bazillion

Answers

The answer is 27 Trillion

Neural messages are carried across the synaptic gap by chemical substances called

neurons
neurotransmitters
nerves
synapses

Answers

They’re called neurotransmitters.

Risk factors increase your chance of getting an injury or disease. Select two risk factors for self-harming behavior.
A. Having high self-esteem
B. Being an adult
C. Having a history of neglect or sexual or physical abuse
D. Having friends who self-harm

Answers

C and D.

Explanation:
Having a history of neglect can lead to doubting your self-worth leading you to hurting yourself
Having friends who self-harm can force you into the mindset of “well they’re doing it, so it must be good.”

Having a history of physical and emotional abuse or neglect. Having self-harming buddies. Then the correct options are C and D.

What is a risk factor?

Anything that becomes the cause of the health of the person is known as a risk factor.

Risk factors increase your chance of getting an injury or disease.

Then the two risk factors for self-harming behavior.

Having a history of neglect or emotional or physical abuse.

Having friends who self-harm.

Then the correct options are C and D.

More about the risk factor link is given below.

https://brainly.com/question/13533020

#SPJ2

please help due today

Answers

Layer C formed.
Layer B formed.
Layer A formed.
When layers A-B-C were present, intrusion D formed.
Intrusion D cut through layers A-C.
Fault E formed, shifting rocks A through C and intrusion D.

Please please please help me on the question in the picture

Answers

Answer:2.(90,000 hours)

3.

work is an important feature in structuring: personal and social identity; family and social bonds; ways of making money, and thereby accessing a number of essential and non-essential goods, services and activities; daily routines; level of activity; physical and mental well-being; self-confidence

4.Sleep deprivation negatively affects work performance—productivity and quality—and working relationships.

5.Structural unemployment

6.It evokes the harshness of the Great Depression and arouses sympathy for the struggles of migrant farmworkers

7.Work is one such essential responsibility which shapes and fulfills human dignity by providing for the needs of one's self and one's family.

Explanation: hope right and help

Other Questions
Another name for musical serialism is12 ToneDiminished TriadAugmented TriadCadenza Giving brainliest I only have 1 try please give out correct answer:) PromptIn the period 1750-1900 CE, new political ideologies emerged as the world became more modern, industrial and enlightened.Develop an argument that shows how the Enlightenment impacted the development and course of revolution(s) around the world. I sat on the grass __ my two sisters.Inside Between OutsideIn What was American President Herbert Hoovers biggest mistake when faced with the Great Depression? You had 100$ in your bank account and deposited (put in) 10.50 more each week. How long would it take to have $200 in the bank? How did Kaiser Wilhelms insistence on building up Germany's military make Germany less safe i need help on these 3 Using the book you are currently reading, write a paragraph that describes one of the characters. Use a quote from the book to support your answer and make sure to use proper formatting when writing the title of your book.(it can be any book) un abuelo dijo a su nieto mira que curioso tu edad es la quinta parte de la mia pero tambin es igual a la tercera parte de mi edad menos diez aos cuntos aos tiene el nieto y el abuelo? 5 = 9 f 90 i rllly need help on the plz someone answer it Based on Steve's actions in the first part of The Monsters Are Due on Maple Street, readers may have predicted that Steve would continue being the town's leader during the power outage. How should readers revise this prediction after Don asks Steve about his radio? Readers should now predict that Les Goodman will attack Steve. Readers should now predict that Steve is one of the aliens. Readers should now predict that Steve will no longer be in charge. Readers should now predict that Steve will escape to Floral Street. Read this excerpt from Daughters of the Revolution and Their Times: 17691776 by Charles Carleton Coffin.Paul Revere sees the muzzle of the pistol within a foot of his breast, but it does not frighten him."Ah, gentlemen, you have missed your aim.""What aim?""You won't get what you came for. I left Boston an hour before your troops were ready to cross Charles River.Messengers left before me, and the alarm will soon be fifty miles away. Had I not known it, I would have risked ashot from you before allowing myself to be captured."Which statement best describes the characterization techniques used in this excerpt?The author uses Revere's thoughts to reveal how he feels about the king.The author uses Revere's statements to show his confidence in his mission.The author describes Revere's actions to create conflict.The author includes Revere's thoughts to make his character more realistic. PLEASE HELP I WILL GIVE THE BRAINLIEST What are some example sites in the Kamakura period? PLEASE HELPPPPThe vast area of land transferred from Mexico to the U.S. after the Mexican War is known as the Compromise of 1850Mexican TransferMexican CessionPearce Act Determine if {(-1, 0), (4, 2), (1, 36), (1, 6)} is a function. Explain. What processes aided the diffusion of Arabic culture in the Persian Gulf region? Why are some parts of Texas facing both water shortages and flooding?A) Texas is facing a winter drought and coastal flooding.B) the snow and ice is keeping people from going to the grocery stores.C) the frigid temperatures have caused pipes to freeze and then burst once thawed. What is 50% of 20. ? Sarah has a 22 ounce lemonade. She drinks 9 ounces. Enter the percentage of ounces Sarah has left of her lemonade. Round your answer to the nearest hundredth.