I have to make a cli app It should show menu and many many other things I have to show some of them in center and others around
.
should it look like gui in cli
Yeah exactly
F
🥲
boi even with lib i gave up
++
when is the deadline?
I want to set the first element of my array to 4, and the rest to 10. Is there a better way to do this? int[] arr2 = new int[26]; arr2[0] = 4; Arrays.fill(arr2,1,25,10);
In these examples with one-liners "read this property" or "write this property" we have great readable code. Why do you think that it's bad that for example def textInFile = f...
Hello, I have problems with gradle, maybe because I dont understand the dependsOn and the tasks. This is my build.gradle.kts code: tasks.register<Copy>("extractJar") { de...
Is there any specific order in which Connection object, ResultSet object and PreparedStatement object need to be closed ?
Hey guys, is greenfield Java fun to code and on work on the product projects?
This is more an opinion than experience talking. I've heard of guys getting jobs faster taking the Python route compared to Java. I don't know though. Again, it's my opinion...
public byte[] readVideo(String filePath, int start, int end) throws IOException { Path path = Paths.get(filePath); try (RandomAccessFile file = new RandomAccessFile(pa...
Hey techies. I'm learning Spring Security. I saw somewhere being advised to separate User.java from an implementation of UserDetails, say, MyUserDetails.java My question is,...
Why you recommend Lombok?
Hi, for the ones who know spring data and hibernate, imagine the example of invoices and invoice rows. If I do the query in SQL, with joins I will get as many rows as there ar...
Обсуждают сегодня