here is my simple code for getting a browser public WebDriver initializeDriver() { WebDriver driver; String browser = System.getProperty("bro
Extreme beginner here trying to work on RDF. Can rdf4j work on IntelliJ IDEA or it works on Eclipse only? If it can work on IntelliJ, could anyone show me how?
I want to send messages on different dates so I'm going to use java scheduler and dynamic cron expression but the problem is that user can send multiple messag
Given the following scenario: one has a JComboBox and a JTextField the latter has an InputVerifier providing its own error message. the textField is the current
I'm a beginning programmer and I apologize if my questions is trivial but I haven't found a sufficient answer to my problem. I have a git repository called "too
How to remove everything from ListView using a button onClick? When i try "fullCourseList.clear();", I can't add any more courses and the page is refreshed only
I have a two very huge PCollections <KV<Long,XYZ>> and <KV<Long,ABC>>. I need to create a PCollection <KV<XYZ,ABC>> which I
I'm currently working on a project in which I am to ask the user to input 2 numbers, divide them, and then throw an exception if the denominator is 0. I feel li
I tried solving this problem: https://leetcode.com/problems/palindrome-number/ using code: class Solution { public: bool isPalindrome(int x) { int r
I need to write a recursive method that takes an int as input and returns the longest sequence of identical numbers in it as an int (NOT as a string). counting
I believe that the answer to my question is very easy for those who have had experience with this, and I thank you in advance. Namely, I managed to export a PDF
New to OAuth2 and Spring framework. Have followed two introduction guides to it so far (for example this one) and the OAuth2User object (org.springframework.sec
auto.register.schemas=false doesn't work as I expect. If I read the documentation it's suppose to counter the producer to regsiter new schemas. https://docs.c
I have a Browser app, I need to set it as my default browser. I want to call such a system menu (as in the photo) only instead of Chrome - the name of my applic
I have array of objects person (int age; String name;). How can I sort this array alphabetically by name and then by age? Which algorithm would you use for th
I have array of objects person (int age; String name;). How can I sort this array alphabetically by name and then by age? Which algorithm would you use for th
Springboot and Axon: Basically I am unit testing an aggregate that uses three different ObjectMapper instances, each with a different configuration. These are d
How do I take the user's input for how many legs are on the trip and have it loop that amount of times? int counter = 0; int gas = 0
Can someone help me write the program in Java that prints the following triangle? I'm having trouble coming up with a solution. Example User input: Enter increm
I want to create a test case for a class Foo. That class Foo gets an instance of Bar injected; however, there are different implementations of Bar, and the deci