88 questions
When I was looking at a question, I thought that using the super.super.method() like the code below would solve it easily. @Overridepublic String toString() { return super.super.toString();}I don't kn...
It's a general OOP question. I want to make a general comparison between Interface and the basic use of abstraction classes. I want to know the difference between using the interface and using the abs...
In Perl and Java, super() was used to call the method of the parent class.package Foo;sub frotz { return Bamf;}package Bar;@ISA = qw(Foo);sub frotz { my $str = SUPER::frotz(); return uc($str);}I don't...
I originally used Java, and I'm just learning Ruby.It's a bit unfamiliar in Java, so I wonder exactly how modules and classes are different, and why they usually use modules, not classes.
The most incomprehensible part is that the parent class' method is only available when the type transformation is performed.Although it can be understood that the ultimate purpose of transforming the ...
The problem embodies the functions, constructors, and destructors of ClassInfo In the main() function, enter (B511001, Kim Cheol-soo, 23), (B611002, Kim Young-hee, 26), and (B411003, Youngsoo Kim, 24)...
Call on the edit page.Create a py fileI put a simple class function in the file Next, I imported it from the console window, but the error message object() takes no parameters appears. If you write m ...
Hi, how are you?This is how you create a class objectYo MyObject object = new MyObject();I'm studying jsp code reviewIf there's MyObject at the front and MyObject at the back of the new, Your type? I ...
« | - 2 - | » |
© 2024 OneMinuteCode. All rights reserved.