Learncado
Learncado

Learncado brings together a vast collection of questions and answers. Expand your knowledge, learn new skills, and find solutions to your queries effortlessly. Enhance your learning experience and save valuable time by exploring our website today.

Resources

  • Questions
  • Question By Tags

Help and support

  • Contact
  • About

  • Geniecourse
  • Jetsodeals
  • Rentcado
  • Dealcado
© 2021-2023 Learncado All Rights Reserved.

Search Results (1369)

Results for java

December 3rd, 2023
java and Arithmetic Operators and Increment

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 ...

javaincrementoperator-keyword
Read more
December 2nd, 2023
Is there a Java Future implementation that will execute in caller thread if pool is busy?

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 ...

javaconcurrencymultithreading
Read more
December 2nd, 2023
Java remove duplicates from 2d array

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 ...

javaarraysmultidimensional-array
Read more
November 29th, 2023
Java interface for stack operations

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...

javastackdata-structuresinterface
Read more
November 29th, 2023
Java best practices for writing code that needs to be removed for a release

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...

java
Read more
November 29th, 2023
Create a iTextPdf PdfPtable in Java with one row without a border

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...

javapdfitextpdfptable
Read more
November 28th, 2023
Java DateTimeFormatter with Optional Sections

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...

javajava-timedatetimeformatter
Read more
November 28th, 2023
I'm having a hard time solving problems using try-catch syntax in Java

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...

javaruntimeexceptiontry-catch
Read more
November 27th, 2023
How object-to-object communication in Java works?

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...

javamethodsoop
Read more
November 27th, 2023
Performance profiling java reactive application

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...

javaproject-reactor
Read more
November 29th, 2023
How to calculate blob convexity in Java with OpenCV: Assertion failed (npoints >= 0 && (depth == CV_32F || depth == CV_32S)) in contourArea

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 (...

javaandroidopencv
Read more
November 26th, 2023
Java GUI window would freeeze in start

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...

javauser-interfacedrag-and-dropnetbeans
Read more
November 25th, 2023
mark 3 words characters using java

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...

javascript
Read more
November 24th, 2023
Cannot get results Between dates in SQLite using Java PreparedStatement

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...

javasqliteprepared-statementbetween
Read more
November 23rd, 2023
use java stream to validate if values ​in a list are found within an enum class

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...

javaenumsjava-stream
Read more
November 28th, 2023
How to avoid compatibility issues between Java EE and Jakarta EE?

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....

jakarta-eejakarta-migrationcompatibility
Read more
November 23rd, 2023
Java for loop decrementing

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...

javafor-loop
Read more
November 22nd, 2023
can I easily make an array of objects with arrays of all parameter's and no for loops in java

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...

javaarrays
Read more
November 23rd, 2023
Problem removing from Java-HashSet while implementing Kruskal's algorithm

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 ...

javasetminimum-spanning-treekruskals-algorithm
Read more
November 21st, 2023
No method for setObjectAcl in AWS Java SDK v2.1

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,...

javaamazon-web-servicesaws-sdkaws-sdk-java-2.0aws-sdk-java
Read more
November 27th, 2023
How can I print string expressions one under the other in line in java?

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...

javaformat
Read more
November 21st, 2023
Composition vs Inerhitance in java

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...

java
Read more
November 20th, 2023
Summarizing daily sales of products in Java7 / Java 8

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...

javajava-8
Read more
November 23rd, 2023
Name or service not known when Java Application call an external hostname define in openshift

My Java application needs to call another application with specific URL construct with specific format (ex : aaa.bbb.my-other-application.com). On Ope...

openshift
Read more
November 18th, 2023
Is it mandatory to declare a variable volatile when I have a synchronized block to increment an int in Java?

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...

javavolatilemultithreadingsynchronized
Read more

Hot Topic

  • 25881

    How do I undo the most recent local commits in Git?

  • 11618

    How can I remove a specific item from an array in JavaScript?

  • 20343

    How do I delete a Git branch locally and remotely?

  • 7387

    How can I find all files containing a specific text (string) on Linux?

  • 7330

    How to find all files containing specific text (string) on Linux?

  • 7611

    How do I revert a Git repository to a previous commit?

  • 2671

    How do I create an HTML button that acts like a link?

  • 8481

    How do I check out a remote Git branch?