Handling date, time, text, numeric and boolean values

12 practice questions under this official exam objective (1Z0-829), each with the answer key, an option-by-option explanation and instant feedback.

Questions under this objective

12 total · page 1 of 1
1Z0-829 S-grade

Java String Immutability and indexOf Result

This question tests the immutable nature of Java Strings and how methods like replace() return new instances without modifying the original. The corre

8 comments
1Z0-829 S-grade

Java ZonedDateTime DST Offset Transition Logic

This question tests the behavior of Java's ZonedDateTime when crossing a Daylight Saving Time transition boundary. It establishes that adding one hour

7 comments
1Z0-829 A-grade

Java Text Blocks and String Equality

This question tests the behavior of Java text blocks regarding implicit newlines and string equality. The correct answer is D because text blocks pres

7 comments
1Z0-829 A-grade

Java Instant truncatedTo ChronoUnit MINUTES Result

This question tests the behavior of Instant.truncatedTo() in Java 8+ datetime API. The correct result is determined by how truncating to minutes affec

6 comments
1Z0-829 S-grade

Java Bitwise and Logical Operators Result

This question tests the evaluation of bitwise NOT, XOR, AND, and logical AND operators with short-circuit behavior in Java. The correct output is fals

6 comments
1Z0-829 A-grade

Java Duration and Period ISO-8601 Output Format

This question tests the ability to predict the string output of Java's java.time.Duration and java.time.Period objects. It establishes that these clas

5 comments
1Z0-829 A-grade

Java Method Overloading with Double and Float Arguments

This Java 17 exam question tests the method overloading resolution rules for numeric primitives, specifically how the compiler chooses between float a

5 comments
1Z0-829 A-grade

Java Enum toString vs valueOf Output

This question tests the behavior of Java enums, specifically how ordinal() and overridden toString() methods interact with valueOf(). The correct resu

4 comments
1Z0-829 A-grade

Java Serialization readObject Access Modifier

Determines the output of a Java program involving serialization when the private readObject method is incorrectly declared as public, causing transien

4 comments
1Z0-829 S-grade

Java Numeric Literals and Operators for 1Z0-829

This question tests the use of underscore separators in numeric literals and compound assignment operators. The correct options enable printing 1250 b

4 comments
1Z0-829 A-grade

Java Method Overloading with Binary Literals

This question tests Java method overloading resolution when passing a binary literal to overloaded integer types. It establishes that the literal reso

4 comments
1Z0-829 A-grade

Java Garbage Collection Eligibility with Object References

This Java certification question tests the understanding of object lifecycle and garbage collection eligibility. The correct answer identifies that on

3 comments