I'm trying to change the VAT rate of an item depending if it's a luxury item or not. I've tried using an if inside of my set method but it only uses the pre-set
I'm trying to get the N smallest numbers (given by the user) in an array without using methods like sort()... in the last step, I keep getting only the smallest
today, i update to bumblebee android version, and i create new project and i import some lib, include dagger-hilt. in build.gradle (module) i insert: plugins {
App crashes at runtime with the following error : java.lang.IllegalArgumentException: maa.abc: Targeting S+ (version 31 and above) requires that one of FLAG_IM
I have a problem with modifying data while setting database replication Before DB replication, I get data that I want to modify using repository.findById() and
Imagine a scenario where a task can be divided into sub-tasks, each of which does some long running process. Assuming that this heavy task occurs only in 5/100
I downloaded the app to the IP camera phone and I want to get the video via opencv,but it gives an error public class Main { static {System.loadLibrary(Core
I am trying to keep up with the new changes in Java, one step a time. I am updating my old libraries with module-info.java files. I have a very simple project n
I am using postgres DB and i have table with two column name and sal . name Sal Raunak 10000 Raunak 5000 Rahul 500 Raunak 300
If end user not send query parameter then i want to return a message like: return Response.status(500).entity("If you wish to download whole offerings data send
Deserializing object using FastJson with putDeserializer leads to StackOverflowError. What am I doing wrong? test.json { "openapi": "3.0.1", "info": { "
In a huge project with tens of thousands of Java files there are a couple of Java classes where developers may pass in strings as parameters to a constructor cl
I am learning Android's new SplashScreen API introduced with Android 12. I have so far gotten it to work on my Emulator and Google Pixel 4A, but I want to incre
I'm relatively new to java swing, so I don't know to change the menu component in swing with a vertical one.
We have shifted from Jboss 6 to Jboss 7.2.9 and we observed one changes in the site. Earlier when we were not find an image then we were getting 404 error which
I'm trying to create an application that lets users modify pictures and then save them. I'm having trouble with the saving part. This is the method that rotates
I encounter this "Random/SplittableRandom" error while building my quarkus optaplanner application in a native image: docker run --env LANG=C --rm -v /Users/use
I have a strange problem with my unit test.. My goal is to run test on a H2 database and not on my Mysql database.. Actually the strange thing is that when i cl
It occurred to me that interfaces cannot be instantiated and hence I could create an interface containing only a bunch of static utilities met
Instructions: Given a main() that reads user IDs (until -1), complete the quicksort() and partition() methods to sort the IDs in ascending order using the Quic