So I found this
public:
ListElem(string s);
string getData(void) const;
ListElem* getNext(void) const;
ListElem* getPrev() const;
Btw this is a snippet of a list in a header file written in cpp
Can someone tell me whats that "(void)" for? Where is the difference between methodName() and methodName(void)?