I'm in a problem, I have a SELECT that asks for ususario (int) , contraseña (String) and tipo (boolean) of a database, I keep them in a Object [][] , all right there, but when I want to save those 3 values in oth...
It's really funny, since the finalized method in the object class does cleaning tasks before the object has been deleted from memory, which is also done by the onDestroy class.
So I have this question in which they differ and why for Androi...
Is there any way to pluralize strings in Android? that is, to represent.
hay 1 objeto
hay 3 objetos
Currently what I do is have two resources defined in string.xml and if the value is more than 1 charge one or the other.
How to resolve ambiguities in the AUTOMATIC CONNECTION of Bean in Spring?
Image we have an interface:
public interface Dessert {
void eat();
}
And we have three Beans that implement the interface:
BEAN CAKE:
@Component
public class...
I'm working with a user registration window, and at the end I have the register button, but I want the user to press the enter key, do the same as if I clicked the register button, how can I do that? I have seen that the keyboard listeners work...
I have a Push notification code that is activated when one of the data in my Firebase Databade changes. The code works perfectly when I am inside the Fragment where it is incorporated, but when I close the app or change Fragment or Activity it s...
Good morning, I'm doing a Java program in which I have to register artists, and also their albums and songs (well, and also modification and elimination but that does not come right now).
Everything is connected to a MySql Database, the progr...
I need a method of name "submitBanda" that will receive a Band type object with 5 musicians and print a message. How can I fill an array with objects from other classes, and use it as a method?
My code is the following.
package presentarban...
I would appreciate if someone can help me with the following error:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at folder.ConfigTeclado.guardaConfig (ConfigTeclado.java:91)
The code (only the parts where I u...