Posts by Brunno • 579 points
12 posts
-
2
votes1
answer156
viewsQ: Can I export a JAR file with only Kotlin classes, without any Java class?
I’m using Intellij IDEA to develop a project in Kotlin, and I’ve reached a point where I need to create an executable file to run on the server, but when I try to create a JAR Artifact, I cannot…
-
18
votes2
answers837
viewsQ: What is the equivalent of the equalsIgnoreCase() in Kotlin?
What is the equivalent of the method String.equalsIgnoreCase() of Java in Kotlin?
-
3
votes2
answers337
viewsQ: How does the destructor ("__destruct" method) work in PHP?
A big difference from PHP to Java, which is my native language, is that in Java there is no way to destroy objects that are in disuse, because the JVM already does it for us automatically, with the…
-
12
votes4
answers229
viewsQ: Is overloading methods less performatic?
I was reading about interfaces as part of my studies and came across an overloaded class (overloading) methods, with two comments saying that it should be avoided. I was in doubt about it affecting…
-
3
votes2
answers51
viewsQ: Only stylize if the element belongs to a class
Good afternoon, my friends! I wonder how I can get a Fontawesome icon to receive formatting ONLY if the HTML element belongs to the class status. With different styles for 3 Fontawesome icons, with…
-
-2
votes1
answer3734
viewsQ: Which IDE to use for C#/C++?
Good people, I want to insert myself in the world of programming whose end users are Windows users. I already work with Java and have a notion of programming, only what I wanted to know is an IDE…
-
1
votes1
answer42
viewsQ: Get all Rows from a query
Friends, I have a little problem: I need to take each of the Rows of a query with a loop. I saw a code in Stackoverflow, but it doesn’t work. Anyone who knows how to do it, please let me know.…
-
0
votes1
answer92
viewsQ: readline() returning null
I have a problem with my code. I need to access my website and check the answer it gives me. However readline returns null (End of transmission) right on the first and only line. No error, only…
-
4
votes1
answer1765
viewsQ: Can I have more than one builder per class?
The question is simple personal: I can have more than one constructor in the same class? At first, I will need to define the variable plugin in my object, then I will use the constructor that…
-
0
votes6
answers9622
viewsA: Transform json array into php array
The mistake I had was solved as follows: I followed in the footsteps of Hugo Fernandes and of Kenny Rafael, but I made a mess and ended up making another mistake. Let’s go in parts, aiming to help…
-
1
votes6
answers9622
viewsQ: Transform json array into php array
Well, I have a little problem that I haven’t been able to solve. I already Googled about it, and the solutions I found did not suit my problem. I need to transform the array "Players" that is in…
-
0
votes2
answers775
viewsQ: Calculate values (R$) from quantity
I don’t know if the title explains the doubt well, but I’ll give you an example: A product costs 50 cents each. I want customers to select the number of products they want to take. So far, so good.…