Questions tagged as 'java'

1
answer

What level of encapsulation do the attributes of the classes in which the logic of an activity in Android have been programmed?

I'm new to programming for Android in Java, I've been watching one or two tutorials to learn. I know that each activity is composed of an .xml file that describes the components that the activity will have and a class in Java where the logic of...
asked by 16.11.2018 / 17:28
0
answers

What is the syntax of an array that is received as a parameter?

Good I want to build an array of objects, in each object has an array of String (Questions) that is received as a parameter, enter the description of the link here I want to fill it out manually but when I do it it throws me an error, and it d...
asked by 16.11.2018 / 17:03
1
answer

Passing the text of a Button from one Activity to another Activity

First of all forgive my ignorance, I've been learning to program for Android for 2 days and I'm missing something. As the title says try to pass the text of a button from one activity to another The code of the first activity: private Bu...
asked by 10.11.2018 / 11:59
0
answers

Sequence Diagrams

I am trying to codify this solution to a program that I am doing on a project of a game similar to monopoly. This sequence diagram is based on applying surprises to a MAX_JUGERS. I have been given this sequence diagram but I do not interpret wha...
asked by 11.11.2018 / 21:32
0
answers

The module has not been deployed. (build-impl.xml: 1075)

I can not run a Java Web project, using NetBeans IDE 8.2. I am using glassfish 5, connection with connection pool, Oracle database, JDK8. The error in detail is this:    build-impl.xml: 1075: The module has not been deployed.   See the...
asked by 11.11.2018 / 22:24
1
answer

psqlexception syntax error near "="

I am creating a method to obtain the records of clients that have a certain userid , the client table contains the columns: clientid, name, userid strong> likewise the Client class contains the 3 parameters clientid, name, userid . But...
asked by 11.11.2018 / 15:42
1
answer

I need to find the instance of an attribute of an object that is in an array to print it

I have to find the Motorola instance of the ClientCellular attribute. It is in a switch inside a for. Yes, the flow of control is a big mess but it occurred to me that way. Thanks in advance. The exercise is this: name and certificate of the fir...
asked by 11.11.2018 / 20:52
2
answers

How do I get data that does not repeat from Firebase in Android Studio?

Hi, I have a problem with Firebase, I'm creating an app that is like a data capture application where the user clicks on YES or NO and I have to make a statistical chart of how many of them have SI in different fields such as Comment, Plane ,etc...
asked by 11.11.2018 / 21:02
1
answer

Instden bst tour along with the level of each node - JAVA

One slogan raises the following: "Develop a method that allows you to print on screen, so ascending, the code of each node next to the level where it is said node. " It gives me to understand that I have to do an inorder tour but showing...
asked by 11.11.2018 / 14:22
0
answers

java.sql.SQLException: Column count does not match value count

I have a problem with my program for an assignment in the university, It is a hotel system that makes reservations, but it throws me an error,    java.sql.SQLException: Column count does not match value count at row 1 at com.mysql.jdbc.SQLErr...
asked by 09.11.2018 / 23:39