★ wanayoo — archive 1999 https://github.com/serdaralkancode/java-features-examplesNouvelle recherche | Portail wanayoo
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

java-features-examples

JDK VERSION : JDK 11 - AMAZON CORRETTO


Maven build plugins for JDK 11

  <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.0</version>
                <configuration>
                    <release>11</release>
                    <source>11</source>
                    <target>11</target>
                </configuration>
            </plugin>
   </plugins>

Examples

  • composition vs inheritance

    examples code

  • equals vs referance

    examples code

  • iterators

    Iterators & ListIterator & Spliterator

    examples code

  • collection differance

    ArrayList vs HashSet

    HashSet vs LinkedHashSet vs TreeSet

    ArrayList vs LinkedList

    Vector vs ArrayList

    examples code

  • map differance

    HashMap vs LinkedHashMap vs TreeMap

    HashMap vs ConcurrentHashMap

    examples code

  • Class structure

    Inner & Static & Local Class and properties access

    examples code

  • interface vs abstract

    examples code

  • sorting

    Array sorting

    List sorting

    Map sorting

    Set sorting

    Comparable vs Comparator

    Sorting algorithms

    examples code

  • String Pooling vs StringBuilder vs StringBuffer

    examples code

  • Binary search

    Iteration

    Recursive

    examples code

  • Ternary search

    examples code

  • Hierarchical Data Structure

    Binary Tree

    Binary Search Tree

    Binary Heap

    examples code

  • error vs exception

    examples code

  • LinkedList

    examples code

  • Complexity

    Constant Time

    Linear Time

    Logarithmic Time

    N Log N Time

    Polynomial Time

    Quadratic Time

    examples code

  • Reflection

    examples code

  • Custom Annotation

    Target

    Retention

    Inherited

    examples code

  • Lambda

    Coupling

    Decoupling

    Functional Interface

    • Consumer

    • Function

    • Predicate

    • Supplier

    examples code

You can’t perform that action at this time.