tech-daily-questions icon indicating copy to clipboard operation
tech-daily-questions copied to clipboard

「小马哥每日一问」

Results 4 tech-daily-questions issues
Sort by recently updated
recently updated
newest added

### 问题描述 ```java public class Parsing { /** * Returns Integer corresponding to s, or null if s is null. * @throws NumberFormatException if s is nonnull and * doesn't...

question

### 问题描述 ```java public class MyMap { public static void main(String[] args) { Map map = new IdentityHashMap(); map.put(1, "Hello"); map.putIfAbsent(1, "World"); print(map.get(1)); print(map.size()); map.put(1024, "A"); map.putIfAbsent(1024, "B"); print(map.get(1024)); print(map.size());...

question

### 问题描述 ```java public class IntegerChange { public static void main(String[] args) throws Exception { Integer a = Integer.parseInt("10"); Integer b = Integer.valueOf(10); Integer c = 10; changeValue(a, 100); changeValue(b,...

question

### 问题描述 ```java public class Hamlet { public static void main(String[] args) { Random rnd = new Random(); boolean toBe = rnd.nextBoolean(); Number result = (toBe || !toBe) ? new...

question