super()
Da li neko zna zašto se u konstruktoru klase MsgBoxList poziva
konstruktor nadređene klase, odnosno klase Object, "super()"?
---
package rs.ac.bg.etf.kdp.zaki.concurrent;
import java.util.LinkedList;
import java.util.List;
public class MsgBoxList implements MsgBox {
private List<Msg> buffer;
private int capacity;
public MsgBoxList(int capacity) {
super();
buffer = new LinkedList<Msg>();
this.capacity = capacity;
}
---
---
package rs.ac.bg.etf.kdp.zaki.concurrent;
import java.util.LinkedList;
import java.util.List;
public class MsgBoxList implements MsgBox {
private List<Msg> buffer;
private int capacity;
public MsgBoxList(int capacity) {
super();
buffer = new LinkedList<Msg>();
this.capacity = capacity;
}
---
- Follow-Ups:
- Re: super()
- From: Ivan Kuraj <ivcha@sietf.org>
- Re: super()
Previous by date: Re: [kdp] Peta lab vežba
Next by date: Re: super()
Previous by thread: Re: [kdp] Re: [kdp] Peta lab vežba Next by thread: Re: super()
Previous by thread: Re: [kdp] Re: [kdp] Peta lab vežba Next by thread: Re: super()