We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f484392 commit cde7219Copy full SHA for cde7219
1 file changed
InnnerClass4.java
@@ -0,0 +1,22 @@
1
+public class InnnerClass4<T> {
2
+
3
+ void my_Method(){
4
5
+ int num = 23;
6
7
+ class MethodInner<V> {
8
+ public void print() {
9
+ System.out.println("This is method inner class "+num);
10
+ }
11
12
13
+ MethodInner<String> inner = new MethodInner<String>();
14
+ inner.print();
15
16
17
+ public static void main(String[] args) {
18
+ InnnerClass4<String> outer = new InnnerClass4<String>();
19
+ outer.my_Method();
20
21
22
+}
0 commit comments