Skip to content

Commit 0f03f76

Browse files
author
Anass Rach
committed
Fix missing escape char!
1 parent db6d187 commit 0f03f76

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
title: Java 21 OCP Flashcards
22
description: A Structured collection of flashcards to help you prepare for the Oracle Certified Professional (OCP) Java 21 exam.
3-
remote_theme: just-the-docs
3+
remote_theme: just-the-docs/just-the-docs
44

55
plugins:
66
- jekyll-remote-theme

math.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ System.out.println(Arrays.mismatch(a, c)); // 2 (differ at index 2)
112112

113113
**Rule:** Arrays class provides **utility methods** for common array operations like sorting, searching, and comparison.
114114

115+
{% raw %}
115116
```java
116117
import java.util.Arrays;
117118

@@ -144,14 +145,6 @@ System.out.println(arr1 == arr2); // false (reference comparison)
144145
System.out.println(Arrays.equals(arr1, arr2)); // true (content comparison)
145146
System.out.println(Arrays.equals(arr1, arr3)); // false (different content)
146147

147-
// Multi-dimensional arrays
148-
int[][] matrix1 = {{1, 2}, {3, 4}};
149-
int[][] matrix2 = {{1, 2}, {3, 4}};
150-
151-
System.out.println(Arrays.equals(matrix1, matrix2)); // false (shallow comparison)
152-
System.out.println(Arrays.deepEquals(matrix1, matrix2)); // true (deep comparison)
153-
```
154-
155148
**Array to String conversion:**
156149
```java
157150
int[] array = {1, 2, 3, 4, 5};

0 commit comments

Comments
 (0)