ABF 수업 (자바 프로그래밍 1) 평가방법 – 특별평가
A 30% 이내
F 10% 이상
lecture0
lecture0
java1-lecture0
Command-Line Arguments (C vs Java)
/* command line arguments in C */
void main(int argc, char** argv)
{
char name[128];
int age = 0;
if (argc >= 2) {
strcpy(name, argv[1]);
age = atoi(argv[2]);
printf("%s, name = %s, age = %d\n", argv[0], name, age);
}
}
~>person.exe Park 20
argv[0] = “person.exe”
argv[1] = “Park”
argv[2] = “20”
// command line arguments in Java
public class Person {
public static void main(String[] args) {
String name = "";
int age = 0;
if (args.length >= 2) {
name = args[0];
age = Integer.parseInt(args[1]);
System.out.printf("name = %s, age = %d\n", name, age);
}
}
}
~>java Person Park 30
args[0] = “Park”
args[1] = “30”
List of DOS commands
How to use the Windows command line (DOS)
https://www.computerhope.com/issues/chusedos.htm
List of DOS commands (on Windows Command Prompt)
https://en.wikipedia.org/wiki/List_of_DOS_commands
cd – change directory
cls – clear screen
dir – directory
path – displays a path for executable files
Difference between JDK, JRE, and JVM
https://www.javatpoint.com/difference-between-jdk-jre-and-jvm
JVM (Java Virtual Machine)
JRE (Java Runtime Environment)
JDK (Java Development Kit)
Java 유료 논쟁, Oracle JDK와 OpenJDK의 차이 정리
Java Tutorial
Oracle Java Tutorial
http://docs.oracle.com/javase/tutorial/tutorialLearningPaths.html
Dotnetperls Java Tutorial
http://www.dotnetperls.com/java
Java2s Java Tutorial
http://www.java2s.com/Tutorial/Java/CatalogJava.htm
생활코딩 동영상 Java Tutorial
https://opentutorials.org/module/516/4551
https://opentutorials.org/course/1223
Tutorialspoint Java Tutorial
https://www.tutorialspoint.com/java/
JavaTPoint Java Tutorial
https://www.javatpoint.com/java-tutorial
Java Tutorial: Learn Java Programming with examples
https://beginnersbook.com/java-tutorial-for-beginners-with-examples/