Posts by Joycinha • 49 points
3 posts
-
-3
votes2
answers354
viewsQ: How to separate items from an object array by dynamic types?
How do I separate items from one array of objects by a type that each object has? Remembering that types are known only at runtime. For example: [ { id:1, name: maria, tipo: pessoa }, { id:1, name:…
-
2
votes1
answer123
viewsQ: Socket with threads in Java
I have this code that involves socket TCP and threads. How do I get the server to send a message when the client connects? In this case the client sends the message and the result has to return to…
-
3
votes1
answer209
viewsQ: Draw letters in a matrix, quantida typed by the user
I am having difficulty here to be able to type how many letters of each one it wants to be drawn. Example as in the code below shows the letters char[] letras = new char[]{'S', 'C', 'M', 'A','L'};.…