All Questions

2
answers

Activity is not displayed

Good morning, I am learning to program in java with the Android Studio tool ... I am trying to call another activity through a button but in the emulator, when I press the button, the application closes and the IDE gives me this error FATAL EX...
asked on 10.09.2017 / 23:42
2
answers

Access the id attribute of an element selected by its class in js

my problem is next ... I want to access the ID attribute of an element but selecting it by its class, that is .. this is the element. <div class="capaClickeable" id="1"></div> select it with getElementsByClassName because the...
asked on 22.09.2017 / 21:03
3
answers

How to know how much data my vector has saved in C #

int[] VectorImpar = new int[20]; The user types in the keyboard x number of data, now, what the user wants is to know how many data he wrote, try with: VectorImpar.legth() - > and this gives me is the value of the initial dimensio...
asked on 30.08.2017 / 22:10
3
answers

How to code a priority matrix? [closed]

I have to make a calculator, but I need to know how to encode the priority matrix, so that for example, first multiply and then add.     
asked on 23.08.2017 / 19:07
2
answers

Error removing tuples from a table plus an intermediate

I have 3 tables, NOTICIA , NOTICIA_FOTO (middle table) and FOTO , and I need to delete rows from table FOTO ; and since said table is associated with the intermediate table NOTICIA_FOTO , also delete rows from that...
asked on 21.01.2016 / 13:59
4
answers

How do I get this date format in Sql Server 2014?

I am having problems when formatting a date in SQLSERVER, my query is SELECT CONVERT(VARCHAR(10), FECHA_INI_FALLA, 13) AS FechaFalla and the result I get is 12 SEP 2017 and what I want to get is 12/SEP/2017 O 12-SEP-2017 It should...
asked on 12.09.2017 / 16:48
2
answers

Difference between input element and button element of submit type in HTML

What is the difference between these two elements when using them to trigger an event? Is there something that the other party can not do? (apart from not being able to use the element input outside of an element form )     
asked on 30.01.2016 / 04:23
3
answers

Enter data by keyboard and send them as parameters to the constructor

My query is because I want to ask the user to enter by keyboard the student's data, and then use the parameters entered to send them to the Student constructor. What is the way to do this? Student.java public class Alumno { private Str...
asked on 13.01.2016 / 20:32
2
answers

Calculate the age of a person in Android Java

How can you obtain the age of a person having your birth date in Date format? DateFormat dateFormat = dateFormat = new SimpleDateFormat("yyyy-MM-dd", Locale.getDefault()); Date dob = dateFormat.parse("1989-10-10");     
asked on 29.09.2017 / 20:45
2
answers

because the placeholder is not shown in my textarea

This is my html file: <!DOCTYPE html> <html> <head> <!--aquí van los metadatos --> <meta charset="utf-8"> <title>Ejemplo formulario atributos</title> <link rel="style...
asked on 06.04.2016 / 14:43