I have an app that runs a stopwatch service, and I run the service in the foreground. I have a notification showing the timer, that updates each second. The not
I am trying to make a basketball playoff simulator. I have an array for east conference teams and west conference teams. I want to randomly output the team name
package Code; import java.util.*; public class PhoneNumber { public static void main(String[] args) { int[] digits = { 2, 3 }; // int n = n
I am trying to build my spring boot project with this command: ./gradlew build But it continuously throws this error: 'Execution failed for task ':compileJava'
I have been making a local git server by using jgit . Following is my code repository for local git server. https://github.com/masumcse1/mygitserver https://git
I have the following service class: public class SheetSorter { // sorts the sheet public static Sheet sortSheet(Sheet sheet) { List<String[]
I tried to submit a flink job that is already packaged in a JAR. Basically it consumes a kafka topic protected by SASL authentication, thus it requires a .jks f
I am facing very strange problem, though I am beginner level on Android. after designed my layout file, when i run this android project by using physical device
String sql = select * from APPLICATION_LABELS where DATE_MODIFIED > '"+ new SimpleDateFormat("dd-MMM-yy").format(lastUpdate) +"'"); MappingSqlQuery&
I've recently upgraded my springboot dependencies from version 2.5.4 to 2.6.7 here my gradle file v2.5.4 plugins { id 'org.springframework.boot' version '2.5.4
Basically in the installation SDK of Sybase 16 we have jconn4.jar and jconn42.jar. What is the difference between jconn4.jar and jconn42.jar?
I ran into an error with custom delete method in spring data jpa. Basically there's a bag which contains items, and when deleting the bag, all the items in it s
Writing Appium tests with TestNG. I'd like to pass the AppiumDriver to my test methods as an argument, so I don't have to remember to get it in every test. For
I am currently sitting on a java problem I've found online. We have an array which has several thousand, if not millions, of entries. the goal is to efficiently
I'm using AR for my app. when I want to use AR I got this message: this application requires the latest version of arcore but installed but it installed: de
Suppose we have two .java files in the same directory. Test.java: public class Test { public void func() { System.out.println("Hello World"); }
Before I invest energy building a utility to interrogate an ObjectMapper to output its configuration via methods like: objectMapper.getRegisteredModuleIds(); ob
Getting below error when I run a unit test class individually in intellij , if I do mvn clean install -PautoInstallPackage test class passing. java.lang.Runti
I was trying to solve this problem on LeetCode where you have to reverse an integer using a function. The constraint is that if the reversed number goes outside
I have a back-end(Springboot) application that is connected to Azure AD and a front-end application that accesses it. In the front-end, I am requiring the user