• how to stop execution of a code until a Jwindow is closed?

    Hi this might be tuff to understand- what i m trying to do is i m creating an object of a JWindow class into another class... like this:- public class GamePlay extends JPanel{ TossWindow toss; public GamePlay(){ Toss(); } public void Toss(){ toss=new TossWindow(team1Name,team2Name);...

    hussain22juzer530 pointsBadges:
  • Interfaces and Properties

    Since you can't put properties into a c# interface, how do you expose each classes public properties when consuming the class as an interace instance? interface iAnimal {     bool Load(int Id);     bool Save(); } class Fish : iAnimal {     private string description;     public string...

    Gent011,870 pointsBadges:
  • How you change a pointer from base class to derived class?

    Hello, I have the following classes class Rock { public: Rock() { goldAmount = rand() % 100 + 1; price = 10; }; int revealContent() { return goldAmount; }; virtual void checkPrice() { cout << price << endl; }; protected: int price; private: int goldAmount; }; class ValuableRock : public...

    CppStudent5 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.