-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm confused about an OOPS feature, multiple inheritance. Does OOPS allow Multiple Inheritance? Is Multiple Inheritance a feature of OOPS? If Multiple Inheritance is a feature then why don't languages like C#, VB.NET, java etc. support multiple inheritance? But those languages are considered as strongly…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
Im confused about OOPS feature esp about multiple inheritance. Is OOPS allows Multiple Inheritance. Is Multiple Inheritance is a feature of OOPS. If Multiple Inheritance is feature then languages like C#,VB.NET,java etc doesn't support multiple inheritance.But those languages are considered as…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
hey, hi i want put limit on object creation means a class can have at most suppose 4 objects not more than that how to achieve this?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
whats the difference between these two 'new' constructors in perl?
1) sub new {
my $class = shift;
my $self = {};
$self->{firstName} = undef;
$self->{lastName} = undef;
$self->{PEERS} = [];
bless ($self, $class);
return $self;
}
2) sub new {
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello guys,
I need some help regarding the arrays in Perl
This is the constructor i have.
sub new {
my $class = shift;
my @includeobjects = ();
my @excludeobjects = ();
my $Packet = {
_PacketName => shift,
_Platform => shift,
_Version => shift,
…
>>> More