first off, good for Tom, he found Brainly. And now the answers (in order)
1. internal
2. internal
3. external
4. external
5. internal
Answer:
public static void main(String[] args) {
String ing[] = {"ten","fading","post","card","thunder","hinge","trailing","batting"};
for (String i: ing){
if (i.endsWith("ing")){
System.out.println(i);
}
}
}
Explanation:
The for-loop cycles through the entire list and the if-statement makes it so that the string is only printed if it ends with "ing"
-- hot-air balloon
-- Zeppelin
-- dirigible
-- blimp
Anything that's lifted off the ground with a big gas bag.
Answer:
Following is the definition of class Clock:
public Clock (int hours, boolean isTicking, int diff)
{
this.hours = hours;
this.isTicking = isTicking;
this.diff = new Integer (diff);
}
Explanation:
- A public class Clock has three parameters namely hours (data type: int), isTicking(data type: boolean), diff (data type: int).
- The class Clock contains a constructor having three parameters that are
- hours in int
- isTicking in boolean
- diff in integer
Explanation:
The purpose to the user: having entertainment, a fun thing to do when there is nothing else to do.
The purpose to the creator: making money, the user has to pay for the entertainment.