Answer:
Explanation: You'll probably end up crashing into that person or crashing into someone else, a pole, or going into a ditch
Answer:
It can only be used in superclasses
Explanation:
In computer language, a reserved word is a word that cannot be used as an identifier, such as the name of a variable, function, or label, it is "reserved from use".
If your method overrides one of its superclass's methods, you can invoke the overridden method through the use of the keyword super, it can also be used to refer to a hidden field.
We can conclude that the correct answer is "It can only be used in superclasses" because, in a subclass’ constructor, we can call the superclass’ constructor with the keyword super instead of the superclass’ (constructor’s) name.
I hope you find this information useful and interesting! Good luck!
# 2 on the right goes to zipties
Answer:
In Java
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int mnth, yr;
Scanner input = new Scanner(System.in);
System.out.print("Month: "); mnth = input.nextInt();
System.out.print("Year: "); yr = input.nextInt();
boolean lpYear = (yr % 4 == 0 && yr % 100 != 0) || (yr % 400 == 0);
if(mnth == 1 || mnth == 3 || mnth == 5 || mnth== 7 || mnth == 8 || mnth == 10 || mnth == 12){
System.out.print("31 days"); }
else if(mnth == 2){
System.out.print(((lpYear) ? "29 days" : "28 days")); }
else if(mnth == 9 || mnth == 6 || mnth == 4 || mnth== 11){
System.out.print("30 days"); }
else{ System.out.print("Invalid"); }
}
}
Explanation:
See attachment for complete program where comments were used as explanation.