mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
17 lines
414 B
Java
17 lines
414 B
Java
class DeclaredOutputVariable {
|
|
void foo(String[] a) {
|
|
<selection>
|
|
String s = a[1];
|
|
if (s == null) return;
|
|
System.out.println(s.charAt(1));
|
|
</selection>
|
|
System.out.println(s.length());
|
|
}
|
|
|
|
void bar(String[] a) {
|
|
String s = a[2];
|
|
if (s == null) return;
|
|
System.out.println(s.charAt(2));
|
|
System.out.println(s.length());
|
|
}
|
|
} |