Java 1.8 Programming

Similar documents
Java Programming with Eclipse

Introduction to Programming Using Java (98-388)

PHP 7.1 and SQL 5.7. Section Subject Page

Using SQL with SQL Developer 18.2 Part I

Index COPYRIGHTED MATERIAL

Using SQL with SQL Developer Part I

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

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

15CS45 : OBJECT ORIENTED CONCEPTS

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

JAVA. Duration: 2 Months

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

Using SQL with SQL Developer 18.2

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

WA1278 Introduction to Java Using Eclipse

Core Java - SCJP. Q2Technologies, Rajajinagar. Course content

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

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.

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

E Oracle 10g Java Bootcamp I v1

Oracle 10g: Java Programming

Java Applets. Last Time. Java Applets. Java Applets. First Java Applet. Java Applets. v We created our first Java application

Essential SQLite3. Section Title Page

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

Core Java SYLLABUS COVERAGE SYLLABUS IN DETAILS

Building Java Programs

Reports 9i. Section Title Page

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

Object Oriented Programming with Java. Unit-1

CO Java SE 8: Fundamentals

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

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

DOWNLOAD PDF CORE JAVA APTITUDE QUESTIONS AND ANSWERS

PESIT Bangalore South Campus

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


1 Shyam sir JAVA Notes

1 OBJECT-ORIENTED PROGRAMMING 1

Core Java Syllabus DAY -1 :

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

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

Murach s Beginning Java with Eclipse

Homeschool Programming, Inc.

Core JAVA Training Syllabus FEE: RS. 8000/-

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.

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

Java Programming Training for Experienced Programmers (5 Days)

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

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

Page 1


This page intentionally left blank

Complete Java Contents

Course Directive Degree Audit Exception

JAVA. 1. Introduction to JAVA

Using SQL with SQL Developer 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

CSC Java Programming, Fall Java Data Types and Control Constructs

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

PLSQL 9i Index. Section Title Page

Using SQL with SQL Developer 18.1 Part II

AP Computer Science A Syllabus

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

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

CS260 Intro to Java & Android 03.Java Language Basics

MARS AREA SCHOOL DISTRICT Curriculum TECHNOLOGY EDUCATION

CORE JAVA TRAINING COURSE CONTENT


LTBP INDUSTRIAL TRAINING INSTITUTE

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

ощ 'ршорвшэш! цвн-эориэу ощ 'sajbpossv # PIPG DUJ 'ssjmoossv ^ PIPG pipa w н OX ЛЮН VAV

Supporting Materials

Expressions and Data Types CSC 121 Fall 2015 Howard Rosenthal

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

FOR BEGINNERS 3 MONTHS

Contents Chapter 1 Introduction to Programming and the Java Language

Expressions and Data Types CSC 121 Spring 2015 Howard Rosenthal

Java Training JAVA. Introduction of Java

AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS

Java Overview An introduction to the Java Programming Language

(2½ hours) Total Marks: 75

Certification In Java Language Course Course Content

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

The Sun s Java Certification and its Possible Role in the Joint Teaching Material

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

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview

Java Programming. Price $ (inc GST)

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

Primary Source Verification. How to Apply

STRUCTURING OF PROGRAM

An Introduction to JavaScript & Bootstrap Basic concept used in responsive website development Form Validation Creating templates

[Course Overview] After completing this module you are ready to: Develop Desktop applications, Networking & Multi-threaded programs in java.

Preview from Notesale.co.uk Page 9 of 108

Operators and Expressions

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

CSC 1214: Object-Oriented Programming

Programming. Syntax and Semantics

This page intentionally left blank

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

Transcription:

One Introduction to Java 2 Usage of Java 3 Structure of Java 4 Flexibility of Java Programming 5 Two Running Java in Dos 6 Using the DOS Window 7 DOS Operating System Commands 8 Compiling and Executing Java Programs in DOS 10 Using JAVAC to Compile Java Programs 11 Exercise One 16 Three Getting the Java Developer Kit (JDK) 18 Downloading the JDK 19 Installing the Java Developer Kit 22 Four First Steps to Programming in Java 30 Introduction to Java Programming 31 Anatomy of Java Programming 35 Using System.out.println in Java 36 Passing Arguments in a Java Program 37 Packages in Java Programming 38 Naming Java modules 39 Commenting in Java Programs 40 Case Sensitivity in Java 41 Syntax Rules in Java 1.8 Programming 42 Exercise Two 43 Five Java Strings 44 Introduction 45 Using Escape Characters 46 Concatenating of Strings 49 Using Methods with Strings 51 Methods with Parameters / Arguments 52 Selecting Substrings 53 Finding the Index 54 Finding the Index of a Substring 56 Finding the Length of a String 60 Capitalizing Strings Example 61 Exercise Three 62 Six Using Numbers in Java 65 Performing Calculations 66 Calculations and Concatenation 68 Calculations and Precedence 69 Using Concatenation with Numbers 70 Using Methods with Numbers 72 Exercise Four 75 Seven Creating Variables in Java 76 Introduction 77 Naming Conventions 79 Using Final to create a Constant value 83 Primitive Datatypes 85 byte Datatype 86 long Datatype 87 short Datatype 89 int Datatype 90 float Datatype 91 double Datatype 92 Compatibility between Primitive Datatypes 93 OC04 Page 1 of 7 Seer Computing Ltd

Casting between Primitive Datatypes 94 Casting and Converting Values 95 byte Casting 96 double Casting 97 int Casting 98 long Datatype 99 float Casting 100 short Casting 101 char Datatype 102 char Casting 103 String Casting 104 boolean Datatype 105 Manipulating Variables 106 Incrementing Variables with Postfix 110 Postfix versus Prefix 111 Number Formatting in Java 112 Exercise Five 120 Eight Wrapper Classes in Java 124 Introduction 125 Using MAX_VALUE 127 Declaring Wrappers 128 Populating Wrapper Classes 129 Postfix Wrappers 133 Number Formatting 134 Converting Numeric Wrappers 135 Converting Numeric Wrappers to String 136 String to Numeric Datatypes (decode) 137 String to Numeric Datatypes (parseint) 138 String to Numeric Datatypes (valueof) 139 Numeric Datatypes to String using valueof() 140 Character Class Methods in Java 141 Converting String to char 142 Exercise Six 143 Nine Conditional Tests 145 Making Decisions in Java 146 Testing Booleans in Java 153 Else Conditions in Java 155 Else if Conditions in Java 156 Nesting Conditions in Java 157 Ternary if-else Operator 158 Case Switch Conditions 160 Using Break in Java Switches 162 Using Java Switches with Strings (v7+) 164 Using Java Switches with Bytes (v7+) 165 Using Java Switches with Shorts (v7+) 166 Using Java Switches with Wrappers (v7+) 167 Compound Conditions in Java 168 AND Conditions in Java (&&) 169 OR Conditions in Java ( ) 170 XOR Conditions in Java (^) 171 Short-circuiting Conditions in Java 172 Exercise Seven 174 Ten Conditional Tests with Wrappers 178 Class Conditions 179 Class Methods 181 OC04 Page 2 of 7 Seer Computing Ltd

String Class Methods 182 Character Class Methods 184 Boolean Class Methods 186 Exercise Eight 187 Eleven Arrays 189 Array Variables in Java 190 Declaring Arrays in Java ([]) 191 Using copyof to extend an array 195 Declaring Empty Arrays in Java ([]) 196 Populating Arrays in Java 197 Multi-Dimensional Arrays 198 Defining Multi-Dimensional Arrays 199 Populating Multi-Dimensional Arrays 201 Cloning Arrays 203 Converting Char Arrays to Strings 204 Converting Strings to Arrays 205 Sorting Arrays 206 Exercise Nine 207 Twelve Object 210 The Object Superclass in Java 211 Creating and utilising Objects 212 Thirteen Looping 213 Looping Methods in Java 214 While Looping in Java 215 Do While Looping in Java 217 For Looping in Java 218 For-Each Looping in Java 219 Nested Looping in Java 220 Branching in Looping in Java 221 Continue Looping in Java 222 Break Looping in Java 224 Labelling Looping in Java 225 The Break Statement in Java 226 Breaking with a Loop Label 227 Continuing with a Loop Label 228 Fourteen Passing Arguments 229 Sending Arguments to Methods 230 Using length with arguments 232 Exercise Ten 234 Fifteen Multiple Methods 239 Introduction 240 Multiple Methods 241 Overloading 246 Returning Values in Java 249 Returning Wrappers in Java 256 Returning Arrays in Java 257 Using varargs in Java 258 Definition of scope 259 Exercise Eleven 262 Sixteen Multiple Classes 264 Multiple Classes / Single File 265 Multiple Classes 267 Accessing Variables 268 Nested Classes 269 OC04 Page 3 of 7 Seer Computing Ltd

Finalising Class Variables 273 Accessing from other Classes 274 Exercise Twelve 276 Seventeen Packages in Java 280 Introduction 281 Definition of a Package 282 Multi-Level Packages 283 Accessing and Importing Packages 285 Exercise Thirteen 289 Eighteen Regular Expressions in Java 290 Introduction 291 Line Anchors 294 Case Sensitivity 295 Using the Dot (Any Character) 296 Counting Characters {Intervals} 298 Character Range Lists 301 Excluding Character Lists 305 Metacharacters in Java 306 Or Patterns (Alternatives) 308 Using the Question Mark (Optional) 309 Using the Plus sign (Mandatory) 311 Using the Star sign (Optional) 312 Negative Lookahead 313 POSIX in Java 314 Using String methods for Regex matches() 316 Using String methods for Regex replaceall() 317 Using String methods for Regex replacefirst() 318 Using String methods for Regex split() 319 Exercise Fourteen 321 Nineteen Vectors 326 Using Vectors in Java 327 Populating Vectors using add() method 328 Populating Vectors using addall() method 329 Counting number of values in a Vector 331 Accessing values in a Vector 332 Using Loops with Vectors 333 Changing existing values in a Vector 334 Sorting values in a Vector 335 Miscellaneous methods to use with Vectors 336 Using Vectors in Java 337 Twenty Hashtables 338 Creating Hashtables 339 Populating Hashtables 340 Accessing values in a Hashtable 341 Accessing values in Hashtables with For-Each 342 Some useful methods for Hashtables 343 Twenty One Enumeration 344 Introduction 345 Using Enumeration 346 Twenty Two Concepts of OOPS 348 Introduction 349 Classes and Instances (Instantiation) 350 Constructor 351 Polymorphism 354 Inheritance 356 OC04 Page 4 of 7 Seer Computing Ltd

IS-A 358 Overriding and Overloading 359 Extends 360 Interfaces and Implementation 361 Abstraction 362 Encapsulation 363 Packages 364 Twenty Three Interfaces 365 Introduction 366 Implementing Interfaces 367 The Hierarchy of Interfaces Using Extends 370 The purpose of @Override 371 Twenty Four Access Methods in Java 373 Class Access Levels in Java 374 Method Access Levels in Java 375 Variable Access Levels in Java 378 Twenty Five Using OOPS in Java 379 Introduction 380 Instances and Constructors 381 The 'This' keyword 384 Overriding and Extending Classes 391 Using the Super keyword 399 Exercise Fifteen 400 Twenty Six Exception Handling in Java 406 Error Handling in Java 407 Trying Exceptions in Java 408 Catching Exceptions in Java 409 Throw Exceptions in Java 416 Using Finally in Java 419 Throws and Modular Programming 421 Exercise Sixteen 432 Twenty Seven Using Java Swing 433 Introduction 434 Using Dialog Boxes 435 Using Message Dialogs 437 Using Confirm Dialogs 442 Using Input Dialogs 445 Using Icons in Java 447 Using ImageIcon in Java 448 Using Option Dialogs 449 Making a Beep in Java 455 Exercise Seventeen 456 Twenty Eight Enums 459 Introduction 460 Declaring a basic Enum 461 Testing Enums 464 Using the values() method with Enums 465 Creating methods in Enums 466 Exercise Eighteen 473 Twenty Nine HashMaps 474 Creating HashMaps 475 Populating HashMaps 476 Populating HashMaps using putall() 477 Accessing values in HashMaps 478 Accessing values in HashMaps with For-Each 479 OC04 Page 5 of 7 Seer Computing Ltd

Accessing keys in HashMaps with For-Each 480 Some useful methods for HashMaps 481 Thirty Arraylist 482 Creating ArrayLists 483 Populating an ArrayList 484 Populating an ArrayList with addall 486 Counting number of values in an ArrayList 487 Accessing values in an ArrayList 488 Using Loops with ArrayLists 489 Changing existing values in an ArrayList 490 Sorting values in an ArrayList 491 Thirty One Iterator 492 Introduction 493 Using Iterator 494 Using Iterator with remove() 495 Using ListIterator 496 Exercise Nineteen 497 Thirty Two Dates in Java 501 Using Dates in Java 502 Date and Time Variables 504 currenttimemillis() 506 DateFormat in Java 507 Placing Strings into Dates 510 SimpleDateFormat Method 512 gettimeinstance Method in Java 515 SimpleDateFormat Method for Time in Java 518 Thirty Three Calendars in Java 520 Calendar Class in Java 521 Leniency in Calendars 526 Populating Calendars 527 Populating Calendars using set() 529 Changing Calendars using add() 530 Gregorian Calendar in Java 532 Exercise Twenty 536 Thirty Four System Properties 539 Using System Properties in Java 540 List of System Properties in Java 541 System.getProperty 542 Thirty Five File Handling in Java 543 File Handling in Java 544 Reading from Files in Java 546 Using the Buffered Reader 550 Writing to Files in Java 552 Using the BufferedWriter in Java 554 Exercise Twenty One 555 Thirty Six Reading XML Files 557 Introduction 558 Example of an XML file 559 Getting the Elements of the File 560 Thirty Seven Reading and Writing Zip Files in Java 566 Introduction 567 Counting Files in a Zip File 568 Naming Files in a Zip File 569 Reading Contents of a Zip using Enumeration 570 Reading Contents of a Zip using a ZipEntry 572 OC04 Page 6 of 7 Seer Computing Ltd

Writing to a Zip File 574 Thirty Eight Accessing MySQL Databases in Java 577 Introduction 578 Running Java and MySQL on the Command Line 579 Counting Records in MySQL 583 Displaying Records in MySQL 586 Using the 'get' method with the ResultSet 588 Updating records in MySQL 589 Deleting and Inserting records in MySQL 591 Date Formats for MySQL 592 Performing DDL in MySQL with Java 593 Creating, Altering and Dropping MySQL Tables 594 Exercise Twenty Two 596 Thirty Nine Accessing Oracle Databases in Java 601 Introduction 602 Using Oracle 603 Running Java and Oracle on the Command Line 604 Counting Records in Oracle 607 Displaying Records in Oracle 610 Updating records in Oracle 612 Deleting and Inserting records in Oracle 614 Inserting / Updating Dates in Oracle 615 Performing DDL in Oracle with Java 616 Creating, Altering and Dropping Oracle Tables 617 Exercise Twenty Three 619 Forty Developer Defined Exceptions 624 Forty One Creating JAR files 631 Introduction 632 Creating a simple Jar file 634 Viewing the contents of a Jar file 635 Extracting the contents of a Jar file 636 Incorporating a Jar file 637 Forty Two Applets 639 Introduction to using Applets 640 Embedding Java in HTML 641 Using Appletviewer in DOS 642 Appletviewer Options 644 Converting a basic Application to an Applet 645 Dialog Boxes converted to JApplet 647 Choosing Applet or Application 648 Using start(), stop(), paint(), init() and destroy() 652 Accessing System Properties in Applets 655 Using the <applet> tag in HTML 657 Using showstatus() (Short status strings) 658 Passing Parameters to the Applet 659 Using getparameter() with JApplet 660 Using the <object> tag in HTML 661 Forty Three Using Javadoc 662 Documenting Java Programs 663 Using Javadoc 664 Exercise Twenty Three 682 OC04 Page 7 of 7 Seer Computing Ltd