Questions tagged as 'clase'

1
answer

How to use a "compareTo" method to find the oldest movie?

I was doing an exercise on the sales of a video club, the video club has 3 products: movies, series and videogames. Each product has its class and in the main method I declare 4 objects of movie type, 4 of series and so on. Each class has overwr...
asked by 09.10.2018 / 14:42
0
answers

call a private method from another class on android

I have the following class questions: public class preguntas extends AppCompatActivity{ public static MediaPlayer preguntas15; Button respuestabtn; public static int MILISEGUNDOS_ESPERA = 3000; public static Button a, b, c, d, cincuentacincu...
asked by 04.09.2018 / 21:16
0
answers

modularity program without modifying the already written

good day I left a program to finish but I can not understand it tell me that you can not remove anything that has already been put and is modularity can someone help me? // Complete the following program to work correctly. public class U5O...
asked by 09.06.2018 / 19:00
0
answers

class works correctly in netbeans but does not work in .jar file

the entire project was compiled correctly, create an .exe file with launch4j and this message is displayed on launch4j: may 23, 2018 7:43:16 PM components.PnlCategory pnlCategoria is a JPanel, in netbeans this panel is shown correctly, but wh...
asked by 24.05.2018 / 04:07
0
answers

One level of abstraction per function

I was reading the "clean code" book and I arrived at the part where the author says "a level of abstraction by function", where he classifies it as low, medium and high level of abstraction. My question is, what criteria to determine the leve...
asked by 03.03.2018 / 08:01
2
answers

Access the attributes of a class from one method of another

I'm starting with C ++, I'd like to know how to use the attributes of one class in another, for example, the attribute CostoBase should use it in the method PrecioVenta() , try to create a variable in the class Venta and equa...
asked by 28.04.2018 / 23:06
0
answers

Values assigned to variables are cleaned

Good morning, I need your support. What happens is that I have an application that uses connections to web service. Everything works very well, but from time to time something strange happens to me: the values that I have assigned to main variab...
asked by 25.01.2018 / 15:00
1
answer

Pass Activity to Class data

Partners, I am sending values to my Service.class from the following activity: But in service.class the getIntent does not take me (being a class) I need to pass PimActivity data to service and then in service send data to a...
asked by 24.01.2018 / 08:00
0
answers

How to remove two last elements of an array in this example

I am new to js and I am quite busy, I have attached two js sets since I do not know how to do it separately. I have a js that is a raffle, it is a window open from the general panel with open () there, randomly, there are two buttons, one that g...
asked by 24.01.2018 / 13:32
0
answers

Referenced objects and pointers of a class

I have a program that has to create a tree from a graph, for that I have the following code: NodoArbol<Vertice>* GrafoMatriz::getBP(bool AR, string origen){ int num_pf=1; int indiceV = this->getIndicePorNombre(origen); Nodo&l...
asked by 10.11.2017 / 05:05