❓︱qotw-answers

175 threads · Page 2 of 4

Week 130 — What is the `var` keyword and how can one use it? 16 messages
Week 129 — How can one create and start a new process? 10 messages
Week 128 — What are text blocks and how can they be used? 6 messages
Week 127 — What are nested classes and how do they work? 6 messages
Week 126 — How are JAR files structured? 5 messages
Week 125 — How can one set the heap size of a Java application? 2 messages
Week 124 — How can one read and write CSV files in Java? 3 messages
Week 123 — What is the difference between List.of() and Arrays.asList()? 2 messages
Week 122 — How can one specify a charset when reading from/writing to a text file? 2 messages
Week 121 — What mechanisms do the Java standard libraries provide for sorting? 9 messages
Week 120 — What are the differences between `HashSet` and `TreeSet`? 5 messages
Week 119 — What is the difference between a monolith and microservices? 7 messages
Week 117 — What is a Maven repository and why is it useful? 4 messages
Week 116 — How can one read the contents of a file from inside a Java program? 13 messages
Week 115 — What are default methods in interfaces? 6 messages
Week 114 — What is a daemon thread? 2 messages
Week 113 — What is the jdeps tool and how can it be used? 5 messages
Week 112 — What is a fat JAR, how can a developer create one and what are the alternatives? 7 messages
Week 111 — What is the difference between arrays and `List`s? 15 messages
Week 110 — What is the null literal and how can it be used in Java applications? 8 messages
Week 109 — How can one parse JSON text in a Java application? 11 messages
Week 108 — What is a `try`-with-resources statement and what is it useful for? 7 messages
Week 107 — What is the difference between overloading and overriding (in Java)? 19 messages
Week 106 — What is an annotation processor? 6 messages
Week 105 — What are generics and how can they be used? 14 messages
Week 104 — What options are there for logging information in Java applications? 5 messages
Week 103 — How can one connect to a database using JDBC? 4 messages
Week 102 — What is the `package-info.java` file and what can be done with it? 2 messages
Week 100 — What's the purpose of the `transient` keyword? 6 messages
Week 99 — What is the `ReentrantReadWriteLock` class used for and how can it be used? 2 messages
Week 98 — What is an enum? 11 messages
Week 97 — What is Base64 and how can data be encoded/decoded with it? 7 messages
Week 96 — How can random numbers be generated in a Java application? 7 messages
Week 95 — How can one find all ways a `String` matches a given regex? 2 messages
Week 94 — How can one convert a datetime from one timezone to another? 7 messages
Week 93 — What are unmodifiable collections and how can these be obtained? 4 messages
Week 91 — What are synchronized collections and how do they differ from regular collections? 5 messages
Week 90 — What happens when running a Java program with `java -jar`? 4 messages
Week 89 — What is the purpose of the `DatagramSocket` class and how can it be used? 3 messages
Week 88 — What is Jakarta EE? 3 messages
Week 87 — What is the purpose of the `jcmd` tool? 2 messages
Week 86 — What is a heap dump and how can it be obtained from a Java application? 7 messages
Week 85 — What is the Epsilon GC? 5 messages
Week 84 — What is a JAR file? 11 messages
Week 83 — What is `AutoCloseable` and why is it useful? 7 messages
Week 82 — What is an `ExecutorService` and how can it be used? 7 messages
Week 81 — What is the purpose of the `CyclicBarrier` class and how can it be used? 4 messages
Week 80 — Which mechanisms does Java provide for comparing objects? 14 messages
Week 79 — Which options are there for packaging Java applications as native executables? 4 messages
Week 78 — What does a shutdown hook do and how can one be created? 4 messages