Results for java
It is one of the simple operations and I do not understand why and I just save it, but this bothers me, so I want to understand why? int a = 2; int b ...
We use ExecutorService to make various REST calls to cloud storage in parallel, and we are concerned that the pool can become busy with blocked calls ...
I need to do this problem: " Prepare a rectangular array (with random natural positive dimensions) of int i variables fill it with random values from ...
I have in mind a method that takes as an argument a collection that supports just the stack operations push and pop. What is the most appropriate inte...
In C++ if you want to create debugging utilities or other code that you don't want to make it to production, you can use the pre-processor, for exampl...
I am trying to generate a table in my pdf document that should have two rows. The first row should not be split in columns but the second row should b...
I have done some reading on this and tried to work through examples from other StackOverflow threads but I keep running into an exception when parsing...
If the length of the string exceeds 20 because the string is inputted with str Generates RuntimeException with string "More than 20 words" If str is n...
I am new in learning Java just finished with Methods lecture. I am working on assignment and I need to write program for Money transfer service. I hav...
JVM has a great set of tools to find the hotspots in your application. By enabling JMX and connecting with JProfiler / VisualVm we can quite quickly f...
I'm using the SimpleBlobDetector C++ OpenCV code as an example for finding blobs. Since I want to know the value of each search criteria of the blob (...
This a gui program of a car wash. consists of two class demo and total that would display total in a new window after calculations. everything was wor...
so I'm trying to create func to find 3 letters words for a long text. const fullstory = "One advanced etc etc" document.querySelector("#story").inne...
I have been trying to get data from a table 'produccion' that has a date field called 'dia' using a between statement. The SQL sentence I was aimig fo...
Good afternoon I have a question, currently I require a method that passes an arrayList of values, it is necessary to compare it with an enum and in c...
After Oracle decided to donate Java EE to the Eclipse Foundation, it was renamed to Jakarta EE. With that, the javax namespace was changed to jakarta....
can you guys pls help me i want to code where the user will enter a number and then using for loop it will display the number in decrement for example...
I have arrays of Strings and Ints, each array contains one parameter for all objects. Is there a way to directly make an array of those objects withou...
in the following code I am trying to implement Kruskal's algorithm to compute the minimal spanning tree of a graph. The problem is that removing sets ...
I am upgrading a legacy java application that used AWS SDK v1.5 for S3 operations, and one of the functions it had to do was to change an objects ACL,...
I need to print string expressions one under the other in the same alignment, like in table format. Unlike the above image, how can I print names, su...
description: I need write a new DTO(data transfer object) class AppleRequest use some of PriceRequest DTO class member. The database table field be l...
I have list of products. I want to sum all the data with the same id public class Product { private int id; private String name; private d...
My Java application needs to call another application with specific URL construct with specific format (ex : aaa.bbb.my-other-application.com). On Ope...
I'm learning about concurrency in Java and I'm watching a YouTube video. It is an explanation about increment operation in a multi-threading environme...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?