Posts by Samuel H. • 91 points
3 posts
-
2
votes1
answer693
viewsA: How to read a JSON from a second link of an API?
(Great chance to be my ignorance but...) I’ve never seen read data from the internet directly by the URI class, when I did a project that read JSON’s I used the following method: URL url = new…
-
0
votes1
answer340
viewsA: Read files. bat java
Java is indifferent to file extensions and yes, only to its content, and a Bat file is a text, so for you to write a file in Java, could do so: //Essa pasta é relativa ao lugar de execucao do…
-
4
votes2
answers3831
viewsA: How to use vectors/arrays in Java?
In java, learn that the base language is this, only the base, one of the great strengths of Java is its built-in libraries that do 1001 things, and it comes all pre-made in JDK. An Array, the way…