eclipse
eclipse-inst-win64
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 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/
Lab0
Lab0 (Due by 3/13)
HelloWorld 프로그램을 작성한다.
JDK 설치
IDE 설치
환경설정
이클립스를 사용한 자바 프로그램 작성
프로젝트 디렉토리(Lab0) 안에 보고서 (1~2장정도 – 장수 제한 없음)를 넣고 Lab0_학번_이름.zip 압축한 후 e-learning(http://lms.dankook.ac.kr/index.jsp)으로 제출
보고서는 프린트해서 수업시간전에 제출
JDK & Eclipse
Java SE Development Kit Download (JDK11.0.2)
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Eclipse Java 2018-12 (eclipse-inst-win64.exe)
https://www.eclipse.org/downloads/
Grading Policy
ABF 수업 (자바 프로그래밍 1) 평가방법 – 특별평가
A 30%이내
F 10%이상
lecture1
lecture1
lecture0
lecture0
java1-lecture0
Java Overview
- Identifier
- Variables
local vs class variable, instance vs static variable
- Data Type
primitive vs reference data type
- Type Conversion
implicit vs explicit type conversion
int <-> String conversion
numeric data type conversion
- Operator
arithmetic vs relational vs bitwise vs logical vs assignment operator
operator precedence
postfix vs prefix increment/decrement operator
- Control Statement
if/else, switch, for/foreach, while/do-
while, break/continue
- Array
Integer Array
Person Array
2D Array
returning an array vs passing an array as parameter
- Enum
enum data type
enum Operation example
enum Operator, enum Gender, enum Weekday
- Method
parameter passing (pass-by value – primitive vs reference data type)
swap
method overloading vs overriding
- Class
Person Class
default/public/protected/private
Static vs Instance Initializer Block
constructor usage guideline
singleton design pattern vs static class
ValueClass instance vs static
BankAccount instance vs static
Person instance vs static
PersonContactTest (has-a PhoneNumber)
ArithmeticCalculator (has-a Value & ArithmeticOperator)
- Inheritance
BankAccount SavingAccount CheckingAccount class(instance vs static member)
Car Sedan class (default/public/protected/private)
Person Student class (instance vs static method overriding)
- Polymorphism
Polymorphism vs Method Overriding vs Method Overloading
Abstract Class & Abstract Method & Polymorphism
- Interface
Comparable & Comparator Interface
Shape Polymorphism with Interface
- Collections
autoboxing and unboxing
Equals vs Contains
== vs equals vs hashCode vs contains
Array vs ArrayList
Difference between Array and ArrayList
- Swing
Swing Component
Layout Manager
5 Ways to Implement Event Listener
Event Listener (ChangeListener, KeyListener, ActionListener)
Key & Mouse Motion Listener & Adapter
TemperatureConverter
MetricConverter
AridityIndex
BMICalculator
TripleCalculatorFrame
Custom Component
DrawingPanel
BodyCalculator