If you have choices, then I mut assume that these are following:
A. valve lift
B. push rod
C. intake manifold
D. valve timing.
I think the answer is letter A.
Answer:
answer(s):
-set goals
-select a topic
-write down research questions
Hope this helped and sorry for the bold. <3
Explanation:
Answer:
Option b. ArrayList‹Integer› = new ArrayList‹Integer›(10) does not correctly declare an ArrayList.
<u>Explanation</u>:
ArrayList in Java dynamically stores elements in it. It also called as re- sizeable array as it expands in size when elements are added and decreases when an element is removed from it. This array list class also allows to use duplicate and null values.
The syntax for creating Array list is as follows
ArrayList<Type> obj = new ArrayList<Type>()
Type specifies the type of ArrayList like Integer, Character, Boolean etc, and obj is the object name. But in the option b ArrayList‹Integer› = new ArrayList‹Integer›(10) object name is missed and not specified.
Answer:
import java.util.Scanner;
public class num1 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter User name 1 and 2");
int userNum1 = in.nextInt();
int userNum2= in.nextInt();
if(userNum1<0){
System.out.println("userNum1 is negative.");
}
else if(userNum2>8){
userNum2 =0;
}
else{
System.out.println("userNum2 is less than or equal to 8..");
}
}
}
Explanation:
This is implemented in Java programming language
Using the scanner class, the user is prompted to enter two numbers
These are saved in the variable userNum1 and userNum2 respectively.
If, else if and else statements are then used according to the specifications given in the question.