Skip to content

nikitaKurtin/javaExamples

Repository files navigation

Java Examples

Basics:

  1. Code structure:

    1. Java executable class.
    2. Variables: Scope, kinds and types (Primitives and Non-primitive).
    3. Class structure: methods, variable, nested types, init blocks.
    4. Arrays
    5. Package & classes.
    6. Memory: Heap & stack, garbage collection, static VS non-static.
  2. Control flow:

    1. Conditions: if, if-else, if-else-if-else and ternary statement.
    2. Loops: while-do, do-while, for(C-style), foreach.
    3. Switch: case-break & fall-through.
    4. Recursion VS loop.
  3. Object Oriented Programming:

    1. Inheritance
    2. Encapsulation
    3. Polymorphism
    4. Abstraction
    5. Composition
    6. Loose coupling
    7. High cohesion

Advanced:

  1. Collections:

    1. Generics Generics
    2. Collection interface and its common sub-classes: ArrayList, LinkedList, HashSet, TreeSet, HashMap, TreeMap
    3. Common conversions
  2. String manipulations:

    1. Understanding java.lang.String class
    2. Understanding java.lang.StringBuilder class
    3. Understanding java.lang.StringBuffer class
  3. Regular Expressions

    1. Quantifiers, predefined meta chars, patterns and symbols, capturing ,looks (positive & negative, ahead & behind)
    2. Common usage: match, split, replace
  4. Exception handling:

    1. Throwable tree - hierarchy
    2. Error VS Exception
    3. Checked VS Unchecked Exceptions
    4. try blocks: try-catch, try-finally, try-catch-finally, multiple-catch, try with resources
    5. Rethrowing concept
    6. Custom Exception
  5. Multi threading:

    1. Concurrency VS parallelism
    2. Process & thread
    3. java.lang.Runnable & java.lang.Thread
    4. Thread handling
  6. Enumeration:

    1. Enum type structure: instances, constructors, methods & properties
    2. Singleton implementation
    3. State machine
    4. Abstraction & Polymorphism: Interface implementation and nested methods delegation
  7. Working with files

    1. Understanding java.io.File class
    2. Working with streams (Input & Output)
    3. Files.ReadAllBytes VS FileInputStream VS BufferedReader
  8. Working with XML

    1. Understanding javax.xml and and org.w3c.dom packages and their classes
    2. Reading, writing and manipulating XML documents
    3. Load XML from remote server
  9. Working with JSON

    1. Understanding org.json
    2. Reading, writing and manipulating JSON documents
    3. Load JSON from remote server
  10. Networking

    1. HTTP client
    2. HTTP server
  11. Java DataBase Connection (JDBC) with MySQL

    1. Establishing connection
    2. How to work with prepared statements
    3. Basic CRUD Operations
    4. Joins & Unions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages