public MemoryExampleTable(List<Attribute> attributes){
  super(attributes);
  this.columns=attributes.size();
}

public MemoryExampleTable ( List < Attribute > attributes ) { super ( attributes ) ; this . columns = attributes . size ( ) ; }
creates a new instance of memoryexampletable .
