From 8525ce81867086bea1973fc87c0d379adb2e4902 Mon Sep 17 00:00:00 2001 From: Vinay Siddha <121566763+VinaySiddha@users.noreply.github.com> Date: Fri, 24 May 2024 08:38:57 +0530 Subject: [PATCH] Add files via upload --- Outer.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Outer.java diff --git a/Outer.java b/Outer.java new file mode 100644 index 0000000..584a5c3 --- /dev/null +++ b/Outer.java @@ -0,0 +1,15 @@ +package internal; + +class Outer { + static int data = 59; + static class inner{ + void show() { + System.err.println("data" +data); + } + } + public static void main(String args[]) { + Outer.inner o = new Outer.inner(); + o.show(); + } + +}