Questions tagged as 'poo'

3
answers

Is it advisable to include classes as nested classes, or is it better to keep them separated one per file?

When creating the classes in a project you have the option to have nested classes. Based on your development experience you should create nested classes in some particular cases or it is preferable to always maintain classes independently....
asked by 22.02.2017 / 15:12
3
answers

Abstract class with constructor

Can a clase abstracta of Java have constructor ? And if so, what are your goals?     
asked by 02.12.2015 / 13:55
2
answers

Show content through POO

I'm trying to understand how Object Oriented Programming works and as an exercise I was going to try to make a kind of video store using this concept and not SQL. The question is that I made the code below and if I did not understand wrong. I...
asked by 04.03.2018 / 22:54
1
answer

Excessive response time between MySQL and PHP

I am making an application which validates certain user data by checking if the provided data exists in the database, the responses of the database can take at least 3 seconds, but making the queries directly in the database , the answers are im...
asked by 13.10.2018 / 01:39
4
answers

How do I get the value true or false in the esVocal () method? Java POO

I defined the class Letter that has an attribute of type char. Develop a method called esVocal() that returns true or false as appropriate. My doubt is that the esVocal() method was not done well, because here I have to use...
asked by 31.10.2018 / 00:23
2
answers

Validate an object within set, list, map

class Coordenada(){ int fila; int columna; //los getter and setter } int main(){ std::set<Coordena> coordenadaSet(Coordenada(4,6)); Coordenada coordenada(5,6); if(coordendaSet.find(coordenada) != coordenadaSet.end()){...
asked by 08.10.2018 / 11:10
2
answers

What is a POO Instance

I've been programming for a while and whenever I read or hear the word instance , we instantiate , I get an idea of what is being talked about but I'm not sure at all. I understand that the instance of an object is when we create a new ob...
asked by 12.04.2016 / 08:55
2
answers

php to establish connection to the database

hello community I'm just learning the object-oriented programming for reasons of scalability in my application and well I have this code to establish connection to the database .. file config.php $host="localhost"; $user="root"; $pass="";...
asked by 09.09.2018 / 00:33
3
answers

Query about the reserved word "super ()" JAVA

Good afternoon, in my project I have the following attributes and constructor of an Abstract Class: //Attributes private int number; //Constructor public Card ( int number ) { this.number = number ; } Of which inherits the following C...
asked by 27.04.2017 / 21:21
1
answer

Possible inheritance between properties of the same name but of a different type?

I am implementing a client of a service that provides me certain classes through a WSDL. In itself these classes build a structure a bit complex, but connecting to 2 service methods the answers are almost identical in terms of objects, with the...
asked by 05.12.2017 / 20:31