Download java fundamentals

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
http://www.sela.co.il/Haifa-Israel *** Phone: 04-8501032 *** Fax:
J1 - Version: 1 - 14/05/2017
java fundamentals
6 days Course
Course Description
This course introduces the participant to the fascinating and dynamic world of Java Object
Oriented programming.
The first part of the course focuses on object-based concepts. We begin by exploring the history
and origins of the Java programming language. From there, we go on to understanding the
structure of the Java platform by focusing on its ability to write and compile only once, and still
run on various machines using different Java Virtual Machines (JVM). The Object Oriented part
of the course goes through inheritance concepts and implementations, the collections
framework, handling exceptions and running multiple threads applications. We conclude the
course by delving into the IO capabilities of Java as well as their usage in networking.
Intended Audience
This course is intended for:
Skilled Programmers.
Team leaders.
For non object oriented developers there is an extra day
Prerequisites
• A good working knowledge of at least one programming Object Oriented language
• For student who has experience with non-object oriented programming language must take the
1 day course introduction to object oriented, usually this day course preformed before this
course in few days
Objectives
• Upon completion of this course, the participant will be able to develop complicated Object
Oriented Java applications including client-server programs.
Reading
Topics
• Introduction to Java
o History
o Key Features
o Java platform independence
o Hello world example
o Eclipse workshop
o packaging and compiling
• Variables
o Units of memory
o Representation of Numbers
o What are Variables?
http://www.sela.co.il/Haifa-Israel *** Phone: 04-8501032 *** Fax:
http://www.sela.co.il/Haifa-Israel *** Phone: 04-8501032 *** Fax:
o When Do We Need Variables?
o Variable Definition
o Variable Types
o Displaying Variable’s Value
o Mathematical Expressions
o Assigning a Value to a Variable
o Integer Division and Modulo
o Expressions
o Assignment Operators
o Increment Operators
o Variable Naming Rules
o Type Conversion
o Mixed Type Operation
o Switching Values Between Two Cells
o Class Math
o Summary
• Introduction to Classes
o Classes
o Class Declaration
o Class Data Members
o Methods
o Method Declaration
o Methods and Events
o Public \ Private
o Summary
• Conditions
o Boolean Logic
o Conditions
o if
o Logical Operators
o Nested Conditions
o Indentation
o Input Validation Check
o Switch Case
o Summary
• loops
o The problem
o The solution
o While loop
o Limit the while loop
o For loop
o Controlling steps size
o Careful! Infinite loops
o Do while loop
o The break statement in a for structure
o The continue statement
o Nested loops
o Summary
• Arrays
o What Is An Array?
o Array Declaration
o Array Instantiation
o Array Initialization
o Access Elements
o Arrays – Length
o Arrays vs. simple variables
o Finding the largest value in array
http://www.sela.co.il/Haifa-Israel *** Phone: 04-8501032 *** Fax:
http://www.sela.co.il/Haifa-Israel *** Phone: 04-8501032 *** Fax:
o The ListBox control
o Arrays synchronization
o Sorting arrays: Bubble sort
o Searching elements in arrays: Binary search vs. sequential search
o Multi-dimensional arrays
o Summary
• More About Methods
o What is a method?
o Why are methods so important?
o Adding a method to the window
o Method parameters
o Calling a method
o Passing arguments to methods by reference vs. by value
o Receiving value type parameters as reference – ref keyword
o ref and out keywords
o Summary
• Roni The Robot Tutorial
o Using Object Example
o Illustrate the Power of the Object-Oriented Programming
• OOP
o What is Object-Oriented Programming?
o What is an object?
o Object declaration
o Classes
o What is a class?
o Data member declaration
o Object state and behavior
o Object operation
o Method declaration
o Public and private – the accessibility keywords
o Public and private - why?
o Properties
o Object interface and implementation
o Object structure
o Constructors
o Object interactions
o Object system
o Summary
• Inheritance and Polymorphism
o Paradigm introduction
o Inheritance
o Using a derived class
o Constructors and inheritance
o Virtual methods
o The problem of derived classes accessibility
o The “protected” accessibility level
o Polymorphism
o The root of all classes: Object
o Summary
Follow on courses
http://www.sela.co.il/Haifa-Israel *** Phone: 04-8501032 *** Fax: