![genyjoannerubiera](/avatars/16479.jpg)
genyjoannerubiera
08.02.2021 •
Computers and Technology
Companies are most likely to opt for brand placement strategies in films that belong to the ___ genre so that the product is associated with a ___, leading to greater audience acceptance.
comedy
crime
horror
crime
funny situation
positive emotion
Solved
Show answers
More tips
- H Health and Medicine Hangover: How to Get Rid of It Quickly?...
- S Style and Beauty How to Choose the Right Fur Coat and Avoid Regrets?...
- C Computers and Internet How to Create a Folder on Your iPhone?...
- G Goods and services How to sew a ribbon: Tips for beginners...
- F Food and Cooking How to Make Mayonnaise at Home? Secrets of Homemade Mayonnaise...
- C Computers and Internet Which Phone is Best for Internet Surfing?...
- F Food and Cooking Everything You Need to Know About Pasta...
- C Computers and Internet How to Choose a Monitor?...
- H Horoscopes, Magic, Divination Where Did Tarot Cards Come From?...
Answers on questions: Computers and Technology
- C Computers and Technology What are the disadvantages of using social media to communicate with colleagues?...
- C Computers and Technology Karl from Accounting is in a panic. He is convinced that he has identified malware on the servers—a type of man-in-the-middle attack in which a Trojan horse manipulates calls between...
- M Mathematics The recipe Sour cream – 1 mug Sugar – 1 mug Oil – 1 mug Flour – 3 mugs Baking powder – 1/16 mug Egg – 1/3 mug Fruit – as many as you wish a) What is the volume of the pastry if a mug...
- H History Why were Americans looking to improve their transportation systems in the early 1800s? to support growing immigration to the United States to take advantage of a national market economy...
- C Chemistry A573-mL sample of unknown HCl solution reacts completely with Na,CO3 to form 10.1 g CO2. What was the concentration of the HCl solution? Express the molar concentration numerically....
- H History PLEASE HELP! At the beginning of the twentieth century, the force of nationalism had led many European groups who were part of larger state or imperial structures to insist on their...
- B Business Om 1 10 pts 1. Managers who understand the higher levels of productivity. of their employees can help them reach how to fix cars o needs disruption o personal business dogs breed...
- P Physics 8) If a swimmer runs off a diving board with a velocity of 7.1m/s, if the swimmer hits the pool 4m away from the diving board, how long did it take for the swimmer to hit the water?...
- B Biology A mother with HIV / AIDS becomes pregnant. If she gives birth normally without a caesarean section, she will contract the disease...
- C Chemistry In the image below, which objects would have a greater gravitational force between them, Objects A and B, or Objects B and C? Give one supporting detail for your answer. Three circles...
Ответ:
Comedy and a positive emotion
Ответ:
Explanation:
The following code is written in Java. In order to code this efficiently, I created a class for the trafficLights. The class contains the currentLight, and the streetType as variables and contains a constructore, getter and setter methods, and a method to turn to the next light in the sequence. Then I created 4 objects of TrafficLights for the highways and the streets.
class {
public static void main(String[] args) {
TrafficLights highwaySouth = new TrafficLights("Highway", "green");
TrafficLights highwayNorth = new TrafficLights("Highway", "green");
TrafficLights streetEast = new TrafficLights("Street", "yellow");
TrafficLights streetWest = new TrafficLights("Street", "red");
}
}
class TrafficLights {
String streetType, currentLight;
public TrafficLights(String streetType, String currentLight) {
this.streetType = streetType;
this.currentLight = currentLight;
}
public void nextLight() {
if (this.currentLight == "green") {
this.currentLight = "yellow";
} else if (this.currentLight == "yellow") {
this.currentLight = "red";
} else {
this.currentLight = "green";
}
}
public String getStreetType() {
return streetType;
}
public void setStreetType(String streetType) {
this.streetType = streetType;
}
public String getCurrentLight() {
return currentLight;
}
public void setCurrentLight(String currentLight) {
this.currentLight = currentLight;
}
}