Java Programming with Eclipse

Similar documents
Java 1.8 Programming

Introduction to Programming Using Java (98-388)

Discover how to get up and running with the Java Development Environment and with the Eclipse IDE to create Java programs.

PHP 7.1 and SQL 5.7. Section Subject Page

Using SQL with SQL Developer 18.2 Part I

Using SQL with SQL Developer Part I

Using SQL with SQL Developer 18.2

WA1278 Introduction to Java Using Eclipse

Index COPYRIGHTED MATERIAL

5/23/2015. Core Java Syllabus. VikRam ShaRma

Oracle 10g: Java Programming

(800) Toll Free (804) Fax Introduction to Java and Enterprise Java using Eclipse IDE Duration: 5 days

Application Development in JAVA. Data Types, Variable, Comments & Operators. Part I: Core Java (J2SE) Getting Started

Core Java Contents. Duration: 25 Hours (1 Month)

Java Programming Course Overview. Duration: 35 hours. Price: $900

Syllabus & Curriculum for Certificate Course in Java. CALL: , for Queries

Reports 9i. Section Title Page

Murach s Beginning Java with Eclipse

E Oracle 10g Java Bootcamp I v1

Essential SQLite3. Section Title Page

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

Building Java Programs

SYLLABUS JAVA COURSE DETAILS. DURATION: 60 Hours. With Live Hands-on Sessions J P I N F O T E C H

JAVA. Duration: 2 Months

Java Fundamentals p. 1 The Origins of Java p. 2 How Java Relates to C and C++ p. 3 How Java Relates to C# p. 4 Java's Contribution to the Internet p.

Complete Java Contents

15CS45 : OBJECT ORIENTED CONCEPTS

Homeschool Programming, Inc.

CO Java SE 8: Fundamentals

Core Java SYLLABUS COVERAGE SYLLABUS IN DETAILS

Core Java - SCJP. Q2Technologies, Rajajinagar. Course content

Using SQL with SQL Developer Part II


A Quick Tour p. 1 Getting Started p. 1 Variables p. 3 Comments in Code p. 6 Named Constants p. 6 Unicode Characters p. 8 Flow of Control p.

MyProgram m i ng Lab. get with the programming. Through the power of practice and immediate personalized

CONTENTS. PART 1 Structured Programming 1. 1 Getting started 3. 2 Basic programming elements 17

Object Oriented Programming: In this course we began an introduction to programming from an object-oriented approach.

Using SQL with SQL Developer 18.1 Part II

College Board. AP CS A Labs Magpie, Elevens, and Picture Lab. New York: College Entrance Examination Board, 2013.

OracleAS 10g R3: Java Programming

AP Computer Science A Syllabus

DOWNLOAD PDF CORE JAVA APTITUDE QUESTIONS AND ANSWERS

Java Programming Training for Experienced Programmers (5 Days)

Language Features. 1. The primitive types int, double, and boolean are part of the AP

1 Shyam sir JAVA Notes

F1 A Java program. Ch 1 in PPIJ. Introduction to the course. The computer and its workings The algorithm concept

Index. Animation. factors, 186. Abstract Window Toolkit (AWT), 111. frame rate, 185. Access modifiers. multiple objects. package-private, 27

MARS AREA SCHOOL DISTRICT Curriculum TECHNOLOGY EDUCATION

CORE JAVA TRAINING COURSE CONTENT

This page intentionally left blank

Course Directive Degree Audit Exception

CSC Java Programming, Fall Java Data Types and Control Constructs

Page 1

Learning C# 3.0. Jesse Liberty and Brian MacDonald O'REILLY. Beijing Cambridge Farnham Köln Sebastopol Taipei Tokyo

JAVA. 1. Introduction to JAVA

Core Java Syllabus DAY -1 :

Graphical Interface and Application (I3305) Semester: 1 Academic Year: 2017/2018 Dr Antoun Yaacoub

Software Development & Education Center. Java Platform, Standard Edition 7 (JSE 7)

PESIT Bangalore South Campus

AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS

Java Programming. Price $ (inc GST)

Java Overview An introduction to the Java Programming Language

PLSQL 9i Index. Section Title Page

Object Oriented Programming with Java. Unit-1

Core JAVA Training Syllabus FEE: RS. 8000/-

FOR BEGINNERS 3 MONTHS

Supporting Materials


Exam 1 Prep. Dr. Demetrios Glinos University of Central Florida. COP3330 Object Oriented Programming


Java SE 8 Programmer I and II Syballus( Paper codes : 1z0-808 & 1z0-809)

Contents Chapter 1 Introduction to Programming and the Java Language

MTK smartphone Multiple downloading tool operating instructions

Course Description. Learn To: : Intro to JAVA SE7 and Programming using JAVA SE7. Course Outline ::

Java Control Statements

CS260 Intro to Java & Android 03.Java Language Basics

Primary Source Verification. How to Apply

CONTENTS. Chapter 1 Getting Started with Java SE 6 1. Chapter 2 Exploring Variables, Data Types, Operators and Arrays 13

Expressions and Data Types CSC 121 Spring 2015 Howard Rosenthal

1 OBJECT-ORIENTED PROGRAMMING 1

Java for Programmers Course (equivalent to SL 275) 36 Contact Hours

Course Text. Course Description. Course Objectives. StraighterLine Introduction to Programming in C++

Forms 10g. Section Title Page

Contents. iii Copyright 1998 Sun Microsystems, Inc. All Rights Reserved. Enterprise Services August 1998, Revision B

Java Training JAVA. Introduction of Java

1 Epic Test Review 2 Epic Test Review 3 Epic Test Review 4. Epic Test Review 5 Epic Test Review 6 Epic Test Review 7 Epic Test Review 8

CompuScholar, Inc. 9th - 12th grades

Expressions and Data Types CSC 121 Fall 2015 Howard Rosenthal

Certification In Java Language Course Course Content

17. [Exploring Numbers]

Reviewing for the Midterm Covers chapters 1 to 5, 7 to 9. Instructor: Scott Kristjanson CMPT 125/125 SFU Burnaby, Fall 2013

VALLIAMMAI ENGINEERING COLLEGE

Operators and Expressions

Compaq Interview Questions And Answers

LTBP INDUSTRIAL TRAINING INSTITUTE

13 th Windsor Regional Secondary School Computer Programming Competition

TeenCoder : Java Programming (ISBN )

Outline. Parts 1 to 3 introduce and sketch out the ideas of OOP. Part 5 deals with these ideas in closer detail.

Peers Techno log ies Pv t. L td. Core Java & Core Java &Adv Adv Java Java

Transcription:

One Introduction to Java 2 Usage of Java 3 Structure of Java 4 Flexibility of Java Programming 5 Using the Eclipse Software 6 Two Running Java in Eclipse 7 Introduction 8 Using Eclipse 9 Workspace Launcher 11 Workspace in Eclipse 16 Projects in Eclipse 17 Opening Projects in Eclipse 18 Importing Projects in Eclipse 19 Running Projects in Eclipse 24 Viewing results in the Eclipse Console 25 The Eclipse Console properties 27 Three Setting up a machine to use Eclipse 28 Introduction 29 Downloading the JDK 30 Installing the Java Developer Kit 33 Downloading Eclipse 37 Installing Eclipse 39 Four First Steps to Programming in Java 41 Introduction to Java Programming 42 Anatomy of Java Programming 43 Using System.out.println in Java 47 Passing Arguments in a Java Program 49 Packages in Java Programming 50 Naming Java modules 51 Commenting in Java Programs 52 Editing Java in Eclipse 53 The SRC folder 55 Editing the code in the SRC 57 Examining the Workspace Folder 59 Examining the Workspace 60 Five Creating Projects and Classes in Eclipse 62 Introduction 63 Creating Projects 64 Importing Projects 68 Importing Projects from other Folders 69 Importing Archives into Workspace 73 Exporting a Project 76 Deleting Projects 80 Creating Packages 81 Creating Classes 84 Exporting Classes into Projects 89 NB12 Page 1 of 9 Seer Computing Ltd

Importing Classes into Projects 90 Copying Classes 93 Incorporating Existing Classes 95 Six Using the Java Editor in Eclipse 96 Introduction 97 Folding 99 Line Numbers 101 Creating Bookmarks 102 Using Bookmarks 103 Using Tasks 107 Correcting Errors 112 Syntax Rules 113 Error Checking 114 Colour Coding 116 Hints while typing 117 Bracket Location 119 Exercise One 120 Seven Java Strings 122 Introduction 123 Using Escape Characters 124 Concatenating of Strings 127 Using Methods with Strings 130 Using the Java Editor with Methods 131 Methods with Parameters / Arguments 134 Selecting Substrings 136 Finding the Index 137 Finding the Index of a Substring 139 Finding the Length of a String 142 Capitalizing Strings Example 143 Exercise Two 144 Eight Using Numbers in Java 147 Performing Calculations 148 Calculations and Concatenation 150 Calculations and Precedence 152 Using Concatenation with Numbers 153 Using Methods with Numbers 155 Exercise Four 158 Nine Creating Variables in Java 159 Introduction 160 Naming Conventions 162 Using Final to create a Constant value 166 Primitive Datatypes 168 byte Datatype 169 long Datatype 170 short Datatype 172 int Datatype 173 float Datatype 174 double Datatype 175 NB12 Page 2 of 9 Seer Computing Ltd

Compatibility between Primitive Datatypes 176 Casting between Primitive Datatypes 177 Casting and Converting Values 178 byte Casting 179 double Casting 180 int Casting 181 long Datatype 182 float Casting 183 short Casting 184 char Datatype 185 char Casting 186 String Casting 187 boolean Datatype 188 Manipulating Variables 189 Incrementing Variables with Postfix 193 Postfix versus Prefix 194 Number Formatting in Java 195 Exercise Four 203 Ten Wrapper Classes in Java 207 Introduction 208 Using MAX_VALUE 210 Declaring Wrappers 211 Populating Wrapper Classes 212 Postfix Wrappers 215 Number Formatting 216 Converting Numeric Wrappers 217 Converting Numeric Wrappers to String 218 String to Numeric Datatypes (decode) 219 String to Numeric Datatypes (parseint) 220 String to Numeric Datatypes (valueof) 221 Numeric Datatypes to String using valueof() 222 Character Class Methods in Java 223 Converting String to char 224 Exercise Five 225 Eleven Conditional Tests 227 Making Decisions in Java 228 Testing Booleans in Java 235 Else Conditions in Java 237 Else if Conditions in Java 238 Nesting Conditions in Java 239 Ternary if-else Operator 240 Case Switch Conditions 242 Using Break in Java Switches 244 Using Java Switches with Strings (v7+) 246 Using Java Switches with Bytes (v7+) 247 Using Java Switches with Shorts (v7+) 248 Using Java Switches with Wrappers (v7+) 249 Compound Conditions in Java 250 NB12 Page 3 of 9 Seer Computing Ltd

AND Conditions in Java (&&) 251 OR Conditions in Java ( ) 252 XOR Conditions in Java (^) 253 Short-circuiting Conditions in Java 254 Exercise Six 256 Twelve Conditional Tests with Wrappers 260 Class Conditions 261 Class Methods 263 String Class Methods 264 Character Class Methods 266 Boolean Class Methods 268 Exercise Seven 269 Thirteen Arrays 271 Array Variables in Java 272 Declaring Arrays in Java ([]) 273 Using copyof to extend an array 277 Declaring Empty Arrays in Java ([]) 278 Populating Arrays in Java 279 Multi-Dimensional Arrays 280 Defining Multi-Dimensional Arrays 281 Populating Multi-Dimensional Arrays 283 Cloning Arrays 285 Converting Char Arrays to Strings 286 Sorting Arrays 288 Exercise Eight 289 Fourteen Object 292 The Object Superclass in Java 293 Creating and utilising Objects 294 Fifteen Looping 295 Looping Methods in Java 296 While Looping in Java 297 Do While Looping in Java 299 For Looping in Java 300 For-Each Looping in Java 301 Terminating a Loop in Eclipse 302 Nested Looping in Java 303 Branching in Looping in Java 304 Continue Looping in Java 305 Break Looping in Java 307 Labelling Looping in Java 308 The Break Statement in Java 309 Breaking with a Loop Label 310 Continuing with a Loop Label 311 Sixteen Passing Arguments in Eclipse 312 Sending Arguments to Methods 313 Using Eclipse to pass arguments 315 Using length with arguments 318 Exercise Nine 319 NB12 Page 4 of 9 Seer Computing Ltd

Seventeen Multiple Methods 324 Introduction 325 Multiple Methods 326 Overloading 331 Returning Values in Java 335 Returning Wrappers in Java 342 Returning Arrays in Java 343 Using varargs in Java 344 Definition of scope 345 Exercise Ten 348 Eighteen Multiple Classes 350 Multiple Classes / Single File 351 Multiple Classes 353 Accessing Variables 354 Nested Classes 355 Finalising Class Variables 359 Accessing from other Classes 361 Exercise Eleven 363 Nineteen Packages 367 Introduction 368 Definition of a Package 369 Multi-Level Packages 370 Accessing and Importing Packages 375 Classes outside Packages 381 Exercise Twelve 383 Twenty Regular Expressions in Java 384 Introduction 385 Line Anchors 388 Case Sensitivity 389 Using the Dot (Any Character) 390 Counting Characters {Intervals} 392 Character Range Lists 395 Excluding Character Lists 399 Metacharacters in Java 400 Or Patterns (Alternatives) 402 Using the Question Mark (Optional) 403 Using the Plus sign (Mandatory) 405 Using the Star sign (Optional) 406 Negative Lookahead 407 POSIX in Java 408 Using String methods for Regex matches() 410 Using String methods for Regex replaceall() 411 Using String methods for Regex replacefirst() 412 Using String methods for Regex split() 413 Exercise Thirteen 415 NB12 Page 5 of 9 Seer Computing Ltd

Twenty One Vectors 420 Using Vectors in Java 421 Populating Vectors using add() method 422 Populating Vectors using addall() method 423 Counting number of values in a Vector 425 Accessing values in a Vector 426 Using Loops with Vectors 427 Changing existing values in a Vector 428 Sorting values in a Vector 429 Miscellaneous methods to use with Vectors 430 Using Vectors in Java 431 Twenty Two Hashtables 432 Creating Hashtables 433 Populating Hashtables 434 Accessing values in a Hashtable 435 Accessing values in Hashtables with For-Each 436 Some useful methods for Hashtables 437 Twenty Three Enumeration 438 Introduction 439 Using Enumeration 440 Twenty Four Concepts of OOPS 442 Introduction 443 Classes and Instances (Instantiation) 444 Constructor 445 Polymorphism 448 Inheritance 450 IS-A 452 Overriding and Overloading 453 Extends 454 Interfaces and Implementation 455 Abstraction 456 Encapsulation 457 Packages 458 Twenty Five Interfaces 459 Introduction 460 Implementing Interfaces 461 The Hierarchy of Interfaces Using Extends 465 The purpose of @Override 468 Twenty Six Access Methods in Java 469 Class Access Levels in Java 470 Method Access Levels in Java 471 Variable Access Levels in Java 474 Twenty Seven Using OOPS in Java 475 Introduction 476 Instances and Constructors 477 Instances and Constructors across Packages 480 The 'This' keyword 481 Overriding and Extending Classes 488 NB12 Page 6 of 9 Seer Computing Ltd

Using the Super keyword 496 Exercise Fourteen 497 Twenty Eight Exception Handling in Java 503 Error Handling in Java 504 Trying Exceptions in Java 505 Catching Exceptions in Java 506 Throw Exceptions in Java 513 Using Finally in Java 516 Throws and Modular Programming 518 Exercise Fifteen 529 Twenty Nine Using Java Swing with Eclipse 530 Introduction 531 Using Dialog Boxes 532 Using Message Dialogs 534 Using Confirm Dialogs 539 Using Input Dialogs 542 Using Icons in Java 544 Using ImageIcon in Java 545 Using Option Dialogs 546 Making a Beep in Java 552 Exercise Sixteen 553 Thirty Enums 556 Introduction 557 Declaring a basic Enum 558 Testing Enums 562 Using the values() method with Enums 563 Creating methods in Enums 564 Exercise Sixteen 570 Thirty One HashMaps 572 Creating HashMaps 573 Populating HashMaps 574 Populating HashMaps using putall() 575 Accessing values in HashMaps 576 Accessing values in HashMaps with For-Each 577 Accessing keys in HashMaps with For-Each 578 Some useful methods for HashMaps 579 Thirty Two Arraylist 580 Creating ArrayLists 581 Populating an ArrayList 583 Populating an ArrayList with addall 585 Counting number of values in an ArrayList 586 Accessing values in an ArrayList 587 Using Loops with ArrayLists 588 Changing existing values in an ArrayList 589 Sorting values in an ArrayList 590 NB12 Page 7 of 9 Seer Computing Ltd

Thirty Three Iterator 591 Introduction 592 Using Iterator 593 Using Iterator with remove() 594 Using ListIterator 595 Exercise Eighteen 596 Thirty Four Dates in Java 600 Using Dates in Java 601 Date and Time Variables 603 currenttimemillis() 605 DateFormat in Java 606 Placing Strings into Dates 609 SimpleDateFormat Method 611 gettimeinstance Method in Java 614 SimpleDateFormat Method for Time in Java 617 Thirty Five Calendars in Java 619 Calendar Class in Java 620 Leniency in Calendars 625 Populating Calendars 626 Populating Calendars using set() 628 Changing Calendars using add() 629 Gregorian Calendar in Java 631 Exercise Nineteen 635 Thirty Six System Properties 638 Using System Properties in Java 639 List of System Properties in Java 640 System.getProperty 641 Thirty Seven File Handling in Java 642 File Handling in Java 643 Reading from Files in Java 645 Using the Buffered Reader 649 Writing to Files in Java 651 Using the BufferedWriter in Java 653 Exercise Twenty 654 Thirty Eight Reading XML Files 656 Introduction 657 Reading XML in Java 658 Getting the Elements of the File 659 Thirty Nine Reading and Writing Zip Files in Java 665 Introduction 666 Counting Files in a Zip File 667 Naming Files in a Zip File 668 Reading Contents of a Zip using Enumeration 669 Reading Contents of a Zip using a ZipEntry 671 Writing to a Zip File 673 NB12 Page 8 of 9 Seer Computing Ltd

Forty Accessing MySQL Databases in Java 676 Introduction 677 Incorporating MySQL into Projects 678 Using MySQL 683 Counting Records in MySQL 684 Displaying Records in MySQL 687 Using the 'get' method with the ResultSet 689 Updating records in MySQL 690 Deleting and Inserting records in MySQL 692 Date Formats for MySQL 693 Performing DDL in MySQL with Java 694 Creating, Altering and Dropping MySQL Tables 695 Running Java and MySQL on the Command Line 697 Exercise Twenty One 700 Forty One Accessing Oracle Databases in Java 706 Introduction 707 Incorporating Oracle into Projects 708 Using Oracle 713 Counting Records in Oracle 714 Displaying Records in Oracle 717 Updating records in Oracle 719 Deleting and Inserting records in Oracle 721 Inserting / Updating Dates in Oracle 722 Performing DDL in Oracle with Java 723 Creating, Altering and Dropping Oracle Tables 724 Running Java and Oracle on the Command Line 726 Exercise Twenty Two 729 Forty Two Developer Defined Exceptions 735 Forty Three Creating JAR files in Eclipse 742 Introduction 743 Creating a JAR file in Eclipse 744 Forty Four Using Javadoc in Eclipse 748 Documenting Java Programs 749 Using Javadoc 750 Using Javadoc for classes 751 Using Javadoc for methods 752 Javadoc Tags 753 Suggestions for Class documentation 754 Using HTML with Javadoc 755 Generating Javadoc in Eclipse 758 Exercise Twenty Three 769 NB12 Page 9 of 9 Seer Computing Ltd