0% found this document useful (0 votes)
99 views3 pages

Java EXAM OCA

1. This document outlines the key topics covered in a Java basics course, including defining Java classes and methods, using variables and data types, operators and decision constructs, arrays, loops, inheritance, exceptions, and some commonly used Java API classes. 2. The topics are organized into sections covering Java fundamentals, data types, operators and conditional logic, arrays, loops, methods and encapsulation, inheritance, exceptions handling, and selected Java API classes. 3. Key concepts include defining classes and methods, declaring and initializing variables, using conditionals and loops, handling exceptions, working with strings, arrays and collections.

Uploaded by

Romie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
99 views3 pages

Java EXAM OCA

1. This document outlines the key topics covered in a Java basics course, including defining Java classes and methods, using variables and data types, operators and decision constructs, arrays, loops, inheritance, exceptions, and some commonly used Java API classes. 2. The topics are organized into sections covering Java fundamentals, data types, operators and conditional logic, arrays, loops, methods and encapsulation, inheritance, exceptions handling, and selected Java API classes. 3. Key concepts include defining classes and methods, declaring and initializing variables, using conditionals and loops, handling exceptions, working with strings, arrays and collections.

Uploaded by

Romie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Java Basics

1. Define the scope of variables not on junior


1 associate
exam
1. Define the structure of a Java class 2.3
2
1. Create executable Java applications with a main method; run a Java 2.4
3 program from the command line; including console output.
1. Import other Java packages to make them accessible in your code 3.4
4
1. Compare and contrast the features and components of Java such as: 1.1
5 platform independence, object orientation, encapsulation, etc.
Working With Java Data Types
2. Declare and initialize variables (including casting of primitive data types) 4.1
1
2. Differentiate between object reference variables and primitive variables not on junior
2 associate
exam
2. Know how to read or write to object fields 12.3, 12.4
3
2. Explain an Object's Lifecycle (creation, "dereference by reassignment" and not on junior
4 garbage collection) associate
exam
2. Develop code that uses wrapper classes such as Boolean, Double, and implied in
5 Integer. 11.2
Using Operators and Decision Constructs �
3. Use Java operators; including parentheses to override operator 5.1, 5.2, 5.3,
1 precedence 5.4, 5.5, 5.6
3. Test​ equality between Strings and other objects using == and equals () 8.3, 8.4
3
3. Create if and if/else constructs and ternary constructs 8.1
4
3. Use a switch statement 8.2
5
Creating and Using Arrays
4. Declare, instantiate, initialize and use a one-dimensional array 11.1
1
4. Declare, instantiate, initialize and use multi-dimensional array not on junior
2 associate
exam
Using Loop Constructs
5. Create and use while loops 9.3
1
5. Create and use for loops including the enhanced for loop 9.4
2
5. Create and use do/while loops 9.4
3
5. Compare loop constructs 9.1, 9.5
4
5. Use break and continue � 9.6
5
Working with Methods and Encapsulation
6. Create methods with arguments and return values; including overloaded 13.1, 13.3
1 methods
6. Apply the static keyword� to methods and fields � 13.4
2
6. Create and overload constructors; including impact on default constructors 12.5,12.6,12.
5 7
6. Apply access modifiers 12.2 (private
6 only)
6. Apply encapsulation principles to a class 13.2
7
6. Determine the effect upon object references and primitive values when not on junior
8 they are passed� into methods that change the values associate
exam
Working with Inheritance
7. Describe the hierarchy of implementing inheritance not on junior
1 associate
exam
7. Develop code that demonstrates the use of polymorphism not on junior
2 associate
exam
7. Differentiate between the type of a reference and the type of an object; not on junior
3 including overriding and object type versus reference type associate
exam
7. Determine when casting is necessary 4.2
4
7. Use super and this to access objects and constructors not on junior
5 associate
exam
7. Use abstract classes and interfaces not on junior
6 associate
exam
Handling Exceptions
8. Differentiate among checked exceptions, RuntimeExceptions and Errors 10.3
1
8. Create a try-catch block and determine how exceptions alter normal 10.1,10.4
2 program flow
8. Describe the advantages of Exception handling 10.2
3
8. Invoke a method that throws an exception 10.1,10.4
4
8. Recognize common exception classes (such as ​NullPointerException​, 10.3
5 ArithmeticException, ArrayIndexOutOfBoundsException,
ClassCastException)
Working with Selected Classes from the Java API
9. Manipulate data using the StringBuilder class and its methods not on junior
1 associate
exam
9. Creating and manipulating Strings 4.3,6.1
2
9. Create and manipulate calendar data using classes from not on junior
3 java.time.LocalDateTime, java.time.LocalDate, java.time.LocalTime, associate
java.time.format.DateTimeFormatter, java.time.Period exam
9. Declare and use an ArrayList of a given type 11.2, 11.3,
4 11.4
9. Write a simple Lambda expression that consumes a Lambda Predicate not on junior
5 expression associate
exam

You might also like