mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
Added support for java and kt usages KTIJ-21819 IDEA-294547 GitOrigin-RevId: 5bf947ecd97ba1ec106adbb9469307a51cc9508c
18 lines
443 B
Java
18 lines
443 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
public class Market {
|
|
|
|
public void a() {
|
|
System.out.println(getGoods()[0]);
|
|
System.out.println(getGoods()[1]);
|
|
System.out.println(getGoods()[1].charAt(0));
|
|
System.out.println(getGoods()[0].charAt(0));
|
|
System.out.println(getGoods()[0]+ getGoods()[1]);
|
|
}
|
|
|
|
@NotNull
|
|
private static String[] getGoods() {
|
|
return new String[]{"orange", "apple", "cucumber", "tomato"};
|
|
}
|
|
}
|