vlaamseFriet
vlaamseFriet

Reputation: 1

class object definition - programming jargon:

what's the definition of class object that has more than one version? what's the name of object like that that has a default and than versions with more parameters?

say you have it like that:

public class object
{
   public object()
   {
      get sth; do sth;
   }
   public object(k)
   {
      get sth with k; do sth with k;
   }
   public object(k, n)
   {
      get sth with k; do sth with k;
      get sth with n; do sth with n;
   }
}

Upvotes: 0

Views: 23

Answers (0)

Related Questions