I am trying to get the Duration until the next time, depending on a Day of Week in Java. I want to be able to schedule a Java task for the next day in a list, a
im not too sure how you add a loop statement to this. I want it to be a while loop that makes it do that the calculations repeat after finishing. I've tried but
Really confused on how to access just the age of a specific student where all the information of students have been stored in a textfile. I am reading the textf
In this simple code can anyone explain me what's wrong ? public class Main { public class UserValidator { public void validateName(String
I am working on implementing a simple cache using ArrayList in my application. I would like to synchronize cache update operations, while updating the cache I s
java.lang.RuntimeException: PowerMock internal error: Should never throw exception at this level at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44R
I'm new to Java. I want to know why Java doesn't give an error and lets the compiler compile it when I write as class class-name without publi
I am trying to send a PDF that will be created in memory from one API to another API which will then render it in an HTML page. Info about my technologies: Spri
I need create a ecommerce api using Java and Spring. But how create a background process, for example: After place order, i need send confirmation e-mail, wait
Hello i'm working for the first time with AWS EFS, and for security reasons in my organization data will be stored encrypted, but not with AWS standard EFS encr
I'm a new Mac user. I'm receiving this error every time I open my terminal and I'm not sure what its about. I was hoping someone can help me with this issue. Th
I've found a strange issue regarding error recovery in ANTLR4. If I take the grammar example from the ANTLR book grammar simple; prog: classDef+ ; // match o
My goal is to write a program to determine the frequency of characters in a char[]. The test case for my program is written below: Expected: E
I use socket.io-client for Javascript server on JAVA and when I enter address 'ws://10.201.223.67:9902/' the request is not by 'ws' but by 'http'. It returns
Let's say we have a 2D-boolean Array as a presentation of a maze, the size of the Array is not fixed and random. The walls are depicted as true: boolean[][] maz
So far I have found 2 methods to configure spring boot application at startup, one uses -D and the other one uses -- like this: java -jar -Dspring.profiles.acti
I update my app with Admob Android SDK 20.x. In the previous versions of the SDK, it was possible to do something like this (in order to avoid to repeat the cod
I want to connect database to android project using android studio and sql server management studio. I add dependencie in build.gradle, but when I try to login
I am working on a game called Space Mines. I am trying to get a list of planets on the screen, but am having trouble and do not know why. I try to debug the app
i have a wsdl file hosted on a site (which i can't share), and i want to invoke a soap request through apache-camel framework. I created a maven project, and us