I don't see any error on your code, everything is well written and simple. Except trying putting PUBLIC on your Class displayer. If you encounter the same problem again try to rebuild your whole code and try to recompile the whole code. Even try restarting your personal computer.
If you're using an apple product to do video editing, then iMovie is probably the best way to do that.
If you're on Windows and you're looking for a free video editing website, I'd suggest WeVideo. Although WeVideo does add watermarks to your videos, editing is pretty easy when using it.
<span>Polymorphic message
Methods in different classes with a similar function are given the same name.
- Makes classes easier to use because programmers need to remember fewer method names.
- Employed as much as possible.
- Polymorphic message ex. is the toString method.</span>
Answer:
class Main {
public static void printPattern( int count, int... arr) {
for (int i : arr) {
for(int j=0; j<count; j++)
System.out.printf("%d ", i);
System.out.println();
}
System.out.println("------------------");
}
public static void main(String args[]) {
printPattern(4, 1,2,4);
printPattern(4, 2,3,4);
printPattern(5, 5,4,3);
}
}
Explanation:
Above is a compact implementation.
Your question has been up too long, a moderator may have to delete it.
we will contact moderators to find your question and remove it, and hopefully, they will refund the points, which is not up to me.
<span>thank you for using brainly.</span>