Autor Beitrag
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 23.11.06 17:07 
Ich bin gerade am Planen meines Web-Projektes:
Ich stelle mir eine Klasse Navibar vor, die Methoden zum Hinzufügen, Löschen, Ändern usw. von Menüeinträgen bereithält. Da ich aber nur EINE Navibar in meiner Webseite haben werde, finde ich es sinnlos, dafür extra eine Objektinstanz zu erstellen. Könnte ich nicht alle Methoden einfach statisch machen und dann über den Klassennamen aufrufen?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot