PL1 - 1th laboratory
Description
The aim of the exercise is to make students familiar with the basics of Java technology and programming.
Tasks
- Introduction to the basic structure of Java technology - JRE → JDK
to explain the term JRE, JDK - what I need for development, what for running -
Introduction to the basic structure of Java program
-
show source file - .java extension,
-
show the compilation (from the console) and what it will create
-
running Java program (from console)
-
-
Introduction to the selected IDE - depends on the choice of the teacher. Students can use others because the following are installed:
-
eclipse
-
netbeans
-
InteliJ
-
show startup, workspace, new project, new class.
-
project structure
-
import projects into workspace.
-
-
Object creation – Rectangle, Triangle, Eclipse, Arc. Object manipulation.
-
Show possibility to start program in IDE, debuging, stop on specific line, steps.
-
local variable, block of code
Home work
Create program that create two figures as is: house, car, tree, piggy, mountain, sun, pacman….
Create it individually. Team work will be assessed summary and distributed among members.