We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 734bd57 commit b8aff98Copy full SHA for b8aff98
src/module1/arrays/ArrayReferencias.java
@@ -0,0 +1,17 @@
1
+package module1.arrays;
2
+
3
+public class ArrayReferencias {
4
5
+ public static void main(String[] args) {
6
7
+ String[] nomes = new String[5]; //objetos
8
9
+ String primeiroNome = new String("emanoel");
10
+ nomes[0] = primeiroNome;
11
12
+ String segundoNome = new String("campos");
13
+ nomes[1] = segundoNome;
14
15
+ System.out.println(nomes[0].toUpperCase() + " " + nomes[1].toUpperCase());
16
+ }
17
+}
0 commit comments