Answer:
The program will print out:
3
7
Explanation:
Let's replace "num" with what this variable is defined to in all of you if statements.
<u>First if statement:</u>
if 7 > 3:
print("3")
Result: 7 is indeed greater then 3, so it will print "3"
<u>Second if statement:</u>
if 7 < 5:
print("5")
Result: 7 is not less than 5, so it will not print "5"
<u>Third if statement:</u>
if 7 == 7:
print("7")
Result: 7 is equal to 7, so it will print "7"
1. Social Media Influence (ex; influence by videos on snapchat, youtube or Tv)
2. Peer pressure (but that mostly falls into the same category as 1), so another reason could be "Teenage rebellion" in todays society we see everywhere that it is expected for teens to act up and experience things such as underage
drinking.
3. Influence at home! Believe it or not a lot of parents will allow their teens to drink at home and/or invite their friends over and provide them alcohol because "they rather have the teens do it at their house than the kids hiding that from the parents" <span />
The answer is b absloute is very incorrect because the ressinanse is a very important period
Answer:
Car car = new Car();
Explanation:
Here we declare a variable called car which is a reference to an object of type Car.
Next we create a new object of type Car by using the new keyword. Here we are invoking no argument constructor of class Car. In case the car class has other constructors which take additional arguments, we could have initialized our object using the corresponding version of new.
The reference variable car is initialized then to the newly created object of type Car as described in the previous step. Now we can use the car reference variable to invoke relevant methods defined in the Car class.