tablica polimorfizmu z abstrakcyjną klasą Java
public abstract class Game{
...
}
Game games = new Game(); //Error
Game[] gamesArray = new Game[10]; //No Error
Instantiation means creation of an instance of a class. In thethis scenario,
you've just declared a gamesArray of type Game with the size 10(just the references and nothing else).
That's why its not throwing any error.
coder