1
  • 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);...

    hussain22juzer500 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:
1

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following