Skip to main content
10 votes
3 answers
669 views

I am trying to convert from byte[4] to int, and int to byte[4]. But why does java need the operation of (bytes[0] & 0xFF) thing? Because, you know, in bit level, when you are doing &0xFF, the ...
Lavin Li's user avatar
  • 115
Advice
4 votes
13 replies
147 views

I am currently learning programming and I want to build strong fundamentals in subjects like logic building, problem solving, and understanding how programs actually work. However, I have noticed that ...
Varun Manhas's user avatar
Advice
2 votes
8 replies
191 views

I am a CS student with experience in C, C++ and basic Java. When looking for open source projects on GitHub, I see labels like "good first issue", but I am unsure how to determine whether a ...
MonkeChing's user avatar
-3 votes
1 answer
200 views

I built this calculator app so that it can calculate either the amount of paint to wall or the amount of thickness on a concrete slab for my APCSA class. When I tried to run it, however, I get this ...
Coder101's user avatar
Advice
0 votes
7 replies
169 views

Sorry for the question, I'm sure it's kind of dumb, but I am really new to this world. So I'm learning Java and I use Eclipse. I've learned the most basic things, like classes, arrays, lists, and I'm ...
Haru Ou's user avatar
Best practices
0 votes
5 replies
100 views

I am trying to implement password manager on Java right now. I am implementing the vault. I have VaultEntry and VaultFolder classes. VaultEntry has fields id, parentId, name, username, email, password ...
gth-other's user avatar
Best practices
0 votes
6 replies
108 views

I am building a Spring Boot application with Spring Security and JPA. I have seen two approaches for implementing UserDetails and I am confused about which one to use and why. Approach 1: @Entity @...
Mayank Grover's user avatar
0 votes
3 answers
101 views

If given a generic interface of which generic is a reference to this generic interface itself, and this interface has a method with parameter as generic type. After implementing this interface with a ...
tankpow Kee's user avatar
Advice
0 votes
1 replies
66 views

I’m looking into FIPS compliance of following clients : Java clients using BouncyCastle FIPS Provider and BouncyCastleJSSE Provider C++ clients using libcurl ( OpenSSL backend ) using OpenSSL fips ...
forumUsr's user avatar
3 votes
2 answers
135 views

I have a Spring application where I need to initialize a nodeId very early during application startup. The problem is: nodeId is used inside static blocks of some classes. One of those classes is ...
ryhn's user avatar
  • 124
3 votes
1 answer
134 views

So I am trying to make an audio player just because I want to understand stacks and GUIs in java better, I was expecting when a audio file was chosen it should have played which it did before but it ...
Fer's user avatar
  • 33
5 votes
1 answer
121 views

I need to deserialize a boolean YAML field into a enum and vice versa. The two have different names, too. Importantly, there should be only one key for the Java field in the YAML ("darkTheme"...
Sergey Zolotarev's user avatar
1 vote
2 answers
126 views

I am trying to make a little game in Java, where a Spaceship shoots a laser at a rectangle and the rectangle is removed and an explosion .png appears. The problem I am having is trying to make the ...
user1924813's user avatar
Advice
1 vote
5 replies
122 views

I’m a PL/SQL developer with strong Oracle experience, interviewing for a role in a Java-based team. They’re happy with my database skills but want me to learn few Java skills before the next round. ...
SQL_starter_learner's user avatar
-3 votes
1 answer
97 views

I'm doing a java OOP assignment and ran across a syntax error that shows JOptionPane does not exist on the import statement. How to fix that?
user25214124's user avatar

15 30 50 per page