From f4ffe08af0bc8a42c76a0c8573587c892095825b Mon Sep 17 00:00:00 2001 From: Bryan Date: Wed, 6 May 2026 10:12:53 -0400 Subject: [PATCH] Fixed type from int to double in scope code blocks --- src/static_methods/scope.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/static_methods/scope.md b/src/static_methods/scope.md index cfbf82f..6b07902 100644 --- a/src/static_methods/scope.md +++ b/src/static_methods/scope.md @@ -5,7 +5,7 @@ and you can reference other static fields and methods. ```java,no_run class ScopeExample { - static final int CAN_ACCESS = 3.14; + static final double CAN_ACCESS = 3.14; static void canCall() { } @@ -21,7 +21,7 @@ But you cannot access any non-static methods or fields. They are not in scope. ```java,no_run,does_not_compile class ScopeExample2 { - final int CANNOT_ACCESS = 3.14; + final double CANNOT_ACCESS = 3.14; void cannotCall() { }