Oracle 1z1-830 Exam Syllabus Topics:
| Section | Weight | Objectives |
|---|---|---|
| Handling Date, Time, Text, Numeric and Boolean Values | 12% | - Use primitives and wrapper classes, evaluate expressions and apply type conversions - Use Date-Time API: LocalDate, LocalTime, LocalDateTime, Period, Duration, Instant, ZonedDateTime - Manipulate text, text blocks, String, StringBuilder and StringBuffer |
| Handling Exceptions | 8% | - Create and use custom exceptions, throw, throws - Exception hierarchy, try-catch-finally, multi-catch, try-with-resources |
| Java I/O and Localization | 5% | - Resource bundles, locale, formatting messages, numbers, dates - File I/O, NIO.2, streams, readers/writers, serialization |
| Controlling Program Flow | 10% | - Decision constructs: if-else, switch expressions and statements, pattern matching - Loops: for, enhanced for, while, do-while, break, continue, return |
| Concurrency and Multithreading | 10% | - Thread lifecycle, Runnable, Callable, ExecutorService, virtual threads - Synchronization, locks, concurrent collections, thread safety |
| Modules and Packaging | 5% | - Module system: module-info.java, exports, requires, provides, uses - Create and use JAR files, modular and non-modular builds |
| Using Object-Oriented Concepts | 20% | - Overloading, overriding, Object class methods, immutable objects - Classes, records, objects, constructors, initializers, methods, fields, encapsulation - Inheritance, abstract classes, sealed classes, interfaces, polymorphism - Enums, nested classes, local variable type inference |
| Advanced Features and Annotations | 3% | - Annotations, built-in annotations, custom annotations - Generics, type parameters, wildcards, type erasure |
| Working with Arrays and Collections | 12% | - Declare, instantiate, initialize, use arrays and multidimensional arrays - Collections Framework: List, Set, Map, Deque, Queue, sorting, searching |
| Functional Programming and Streams | 15% | - Stream API: create, intermediate/terminal operations, parallel streams, grouping, partitioning - Lambda expressions, functional interfaces, method references - Optional class, primitive streams |
Oracle Java SE 21 Developer Professional Sample Questions:
1. Given:
java
public class Test {
static int count;
synchronized Test() {
count++;
}
public static void main(String[] args) throws InterruptedException {
Runnable task = Test::new;
Thread t1 = new Thread(task);
Thread t2 = new Thread(task);
t1.start();
t2.start();
t1.join();
t2.join();
System.out.println(count);
}
}
What is the given program's output?
A) It's always 1
B) Compilation fails
C) It's either 1 or 2
D) It's always 2
E) It's either 0 or 1
2. What does the following code print?
java
import java.util.stream.Stream;
public class StreamReduce {
public static void main(String[] args) {
Stream<String> stream = Stream.of("J", "a", "v", "a");
System.out.print(stream.reduce(String::concat));
}
}
A) Compilation fails
B) Java
C) Optional[Java]
D) null
3. Given:
java
final Stream<String> strings =
Files.readAllLines(Paths.get("orders.csv"));
strings.skip(1)
.limit(2)
.forEach(System.out::println);
And that the orders.csv file contains:
mathematica
OrderID,Customer,Product,Quantity,Price
1,Kylian Mbappe,Keyboard,2,25.50
2,Teddy Riner,Mouse,1,15.99
3,Sebastien Loeb,Monitor,1,199.99
4,Antoine Griezmann,Headset,3,45.00
What is printed?
A) arduino
1,Kylian Mbappe,Keyboard,2,25.50
2,Teddy Riner,Mouse,1,15.99
B) An exception is thrown at runtime.
C) arduino
2,Teddy Riner,Mouse,1,15.99
3,Sebastien Loeb,Monitor,1,199.99
D) Compilation fails.
E) arduino
1,Kylian Mbappe,Keyboard,2,25.50
2,Teddy Riner,Mouse,1,15.99
3,Sebastien Loeb,Monitor,1,199.99
4,Antoine Griezmann,Headset,3,45.00
4. Which of the following statements is correct about a final class?
A) It cannot implement any interface.
B) It cannot be extended by any other class.
C) The final keyword in its declaration must go right before the class keyword.
D) It must contain at least a final method.
E) It cannot extend another class.
5. Given:
java
public class Test {
class A {
}
static class B {
}
public static void main(String[] args) {
// Insert here
}
}
Which three of the following are valid statements when inserted into the given program?
A) A a = new Test().new A();
B) B b = new B();
C) B b = new Test().new B();
D) A a = new Test.A();
E) A a = new A();
F) B b = new Test.B();
Solutions:
| Question # 1 Answer: B | Question # 2 Answer: C | Question # 3 Answer: B,D | Question # 4 Answer: B | Question # 5 Answer: A,B,F |














1361 Customer Reviews
Quality and ValueITCertKing Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.
Tested and ApprovedWe are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.
Easy to PassIf you prepare for the exams using our ITCertKing testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.
Try Before BuyITCertKing offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.
