java - abstract class and arraylist -


i don't understand lines on code

public abstract class subject{ 

the class abstract subject super class

    public subject() {  

and constructor?

like inside constructor passed on sub classes?

observers = new arraylist<ioserver> ();  

here have no idea.

the constructor passed on subclass constrained. observers variable initialized within constructor, don't see declared.

like:

arraylist<ioserver> observers = new arraylist<ioserver> (); 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -