Created
March 17, 2020 19:11
-
-
Save authentical/915f634607038bf34d38ab1033157574 to your computer and use it in GitHub Desktop.
paste_charsStringsArraysLists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main(String[] args) { | |
// List | |
// tochararray | |
char[] putInto = {}; | |
String shit = "truck"; | |
putInto = shit.toCharArray(); | |
System.out.println(putInto[1]); | |
// I had some problems getting List to show as a list from sout | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment