Most voted "superscript" questions
12 questions
Sort by count of
-
14
votes1
answer5228
viewsWhat are the differences between overrideing and overloading in Java?
What are the main differences between overrideing and overloading in Java? What is the relationship between these terms and Polymorphism?
-
3
votes2
answers174
viewsRequest and Pedidoitem establish a composition?
I took the test of the IFSULDESTE competition of Minas Gerais organized by the CEFET-MG Foundation and I have doubts about the following question: Note the following class diagram. About the…
-
2
votes2
answers135
viewsDoubt about access modifiers and polymorphism
I have a very beginner question about polymorphism/access modifiers in Java. I’d like to find out why a certain phenomenon occurs in my code. Below is an example of classes: Class Pai: public class…
-
2
votes1
answer220
viewsModify the indices of each item in a Treeview Java FX or Treeview.getSelectionModel() override method. select(int index)?
Greetings to all. This is my first post here. I am developing a Java FX project that consists of a form with a Treeview whose items are obtained from an Arraylist, previously completed through a…
-
2
votes2
answers110
viewsC# override autocomplete does not work
I can’t write a superscript with suggestions from override. The completion of the override does not give suggestions of virtual classes or methods as Tostring(). How do I make these suggestions…
-
1
votes0
answers139
viewsOverwrite php functions
I am working on the security of my site and would like to know if a malicious user can override some php function of my site if by chance he finds out what the name of this function?
-
1
votes1
answer103
viewsMethod override of an interface
I’m having a question about the method override of an interface. I can override a method in a daughter class that inherits from the mother class the implementation of an interface and in that method…
-
1
votes3
answers209
viewsCan the "main()" method be overwritten or overwritten?
I read the answer What public Static void main(String[] args means)?, but I still have two doubts about the method main(): The method main() can be overloaded? The method main() may be…
-
0
votes1
answer36
viewsI can’t override a Docker variable. How to resolve?
I have this next dockerfile: ... ENV REMOTE_HOST abcd RUN figlet SETTING__XDEBUG__php.ini RUN { \ echo '[xdebug]'; \ echo…
-
0
votes1
answer100
viewsMethod superscript applies to all class hierarchy?
When there are several extends (as in the example below) all methods are overwritten to the last extends? If not, which method will be used? class D extends C { void x() { System.out.println(1); } }…
-
0
votes1
answer44
viewsWhy isn’t to_s being overwritten?
In Ruby you can override methods, even "default" language classes. I just wanted to know why the code I did below does not overwrite properly. class Oi end class Ola def to_s puts "Olá!" end end oi…
-
0
votes1
answer392
viewsError Dispose(bool)': no suitable method found to override C#
I’ve checked on other forums and even here, but that’s it correct with the class name o namespace is the same. He caused me other mistakes besides this, but this I believe is the main one that is…