r/learnjava • u/Shuffleto • Jun 01 '21
Help translating from c++ to java
Hey, could you please help me translation this code to java?
class DialogDirector {
public:
virtual ~DialogDirector();
virtual void ShowDialog();
virtual void WidgetChanged(Widget*) = 0;
protected:
DialogDirector();
virtual void CreateWidgets() = 0;
};additionally what does -> and :: mean in c++, and how could i translate it to java?
0
Upvotes
1
u/Shuffleto Jun 01 '21 edited Jun 01 '21
thank you for your Response! Could you please help me with this
im not understanding this part
how would it look like in java?
like this?