Java 22 - package

PHOTO EMBED

Sun Nov 26 2023 17:08:27 GMT+0000 (Coordinated Universal Time)

Saved by @Java

import pl.B; 
class ex1 
{ 
public static void main(String... Y) 
{ 
B x=new B(); 
x.m1(); 
} 
} 
package pl; 
public class B 
{ 
public void m1() 
{ 
int a=17; 
{ 
System.out.print("a value is="+a); 
} 
} }
content_copyCOPY