Jaba Jaba Memorandum

Argument input

hikisuu.java


int input = Integer.parseInt(args[0]);

Simple array

hairetsu.java


String[] num= new String[7];

		num[0]="zero";
		num[1]="one";
		num[2]="two";
		num[3]="three";
		num[4]="four";
		num[5]="five";
		num[6]="six"

ArrayList

arraylist.java


ArrayList
ArrayList<Mold>List name= new ArrayList<Mold>();

//Example
ArrayList<String> strList = new ArrayList<String>();

for statement

for.java



for(int i = 0; i<7;i++){
		System.out.print(i+"Is in english");
		System.out.println(num[i]+"is.");
		}

Extended for loop

kfor.java



for (Type variable name:formula)
Sentence;
}

Recommended Posts

Jaba Jaba Memorandum
memorandum
memorandum
MyBatis memorandum
Java memorandum
Rails memorandum
Error memorandum
JavaFx memorandum
JAVA memorandum
JUnit memorandum
Docker memorandum
Gradle Memorandum
Docker memorandum
thymeleaf memorandum
Technical memorandum (Docker)
Log Level Memorandum
Memorandum docker command
Apache FreeMarker memorandum
Java memorandum (list)
Screen transition memorandum
Rails tutorial memorandum 1
Rails tutorial memorandum 2
Docker command memorandum
Java study memorandum
Spring Boot Memorandum
[Java] Optional memorandum
Memorandum (Spring Web)