Here is the class Tiger:
package com.mypackage;
public class Tiger {
private String name;
public Tiger(String name) {
this.name = name;
}
void sayHello() {
System.out.println("Rrrrrrr!");
}
protected void run() {
System.out.println(this.name + " is running!");
}
}
And the class Main:
package org.hyperskill;
import com.mypackage.Tiger;
public class Main {
public static void main(String[] args) {
Tiger tiger = new Tiger("Tiggy");
tiger.run();
}
}
What will be the output of this code?
Write the answer below. If you think the code is incorrect, write "compile error".