❓︱qotw-answers

175 threads · Page 3 of 4

Week 77 — How can one create a TCP connection in a Java application? 7 messages
Week 76 — What is Java bytecode and why is it needed? 8 messages
Week 75 — What is the exit code of a program and how can exit codes be set from Java code? 3 messages
Week 74 — What are common naming conventions used in Java programs? 17 messages
Week 73 — What is a `PriorityQueue` and how does it differ from regular `Queue`s? 6 messages
Week 72 — What is a Javadoc comment and how is it different from other comments? 2 messages
Week 71 — Which garbage collectors does Java provide and what are the differences between them? 3 messages
Week 70 — How can one get the current date and time in a Java application? 9 messages
Week 69 — What is the purpose of `ArrayDeque` and how can it be used? 5 messages
Week 68 — Which mechanisms does Java provide for concatenating `String`s with other variables? 15 messages
Week 66 — What is the purpose of the class `Lock` (in package `java.util.concurrent.locks`)? 3 messages
Week 65 — What are sequenced collections? 2 messages
Week 64 — What is a heap dump and why can it be useful? 4 messages
Week 62 — What is a debugger? 5 messages
Week 61 — What is a stack trace and how can one read it? 7 messages
Week 60 — What is an array and how can one access its elements? 11 messages
Week 59 — What are libraries in the context of Java and how can they be used in Java programs? 8 messages
Week 58 — What is the "identity hash code" and how does it differ from other `hashCode()`s? 2 messages
Week 57 — What is special about the `toString` method? 7 messages
Week 56 — What is the unnamed package and what is special about it? 3 messages
Week 55 — What is JUnit and what is it used for? 6 messages
Week 54 — What is a functional interface? 9 messages
Week 53 — What is `java.nio.file.Files` and how does it simplify I/O? 4 messages
Week 52 — How can one interrupt threads (in Java) and why is that useful? 8 messages
Week 51 — What is `Iterable` and how does it relate to for-each/enhanced `for` loops? 9 messages
Week 50 — What is an `Executor` (from `java.util.concurrent`) and how can it be used? 8 messages
Week 49 — What is `BigInteger` and `BigDecimal`? 8 messages
Week 48 — What are `Stream`s (from `java.util.stream`) and how can they process data? 5 messages
Week 47 — What is a switch expression and how is it different from switch statements? 5 messages
Week 46 — What does the `static` keyword do in Java? 15 messages
Week 45 — What's the purpose of the `InputStream` and `OutputStream` classes? 5 messages
Week 44 — What does "type erasure" refer to? 6 messages
Week 43 — What is a virtual thread and how is it different from a platform thread? 6 messages
Week 42 — What is a `sealed` class or interface? 2 messages
Week 41 — What is the purpose of the `Error` class and how is it different from `Exception`? 3 messages
Week 40 — What is instanceof patternmatching and how can it be used? 2 messages
Week 39 — What is the difference between JRE and JDK 14 messages
Week 38 — How can one make an HTTP request in a Java application? 15 messages
Week 37 — What is the `java.time` API and how can it be used? 5 messages
Week 36 — What is a regex and how can it be used in Java? 11 messages
Week 35 — What are some differences between JavaFX and Swing? 7 messages
Week 34 — How would one implement a binary search algorithm? 9 messages
Week 33 — What would be a possible way to restart a java application? 8 messages
Week 32 — What is a Queue / Deque? 10 messages
Week 31 — What are build tools and which problem do they solve? 13 messages
Week 30 — What is required to make a JAR file executable? (Starts on double click) 7 messages
Week 29 — What is a "Format String", and how do you use one? 10 messages
Week 28 — What is the difference between abstract classes and interfaces in Java? 8 messages
Week 27 — What does "write once, run anywhere" refer to in Java? 22 messages
Week 26 — Where are the possible use cases for Java on microsystems? 4 messages