So, the ATable is actually an Interface.
If I remembered correctly, neither Interface nor abstract class can be instanciated, i.e you cannot do like :
InterfaceName instance = new InterfaceName(){};
However, at round line 10-20, we do have an instance of an interfac :
ATable aTable = new ATable() {
@Override
public String getCurrentUserName() {
return "Amigo";
}
@Override
public String getTableName() {
return "DashboardTable";
}
};
How is it be possible ??