What is the difference between Java 1.8 and Java 1.7?

What is the difference between Java 1.8 and Java 1.7?

			
New features in Java SE 8

    Lambda Expressions
    Pipelines and Streams
    Date and Time API
    Default Methods
    Type Annotations
    Nashhorn JavaScript Engine
    Concurrent Accumulators
    Parallel operations
    PermGen Error Removed

New features in Java SE 7

    Strings in Switch Statement
    Type Inference for Generic Instance Creation
    Multiple Exception Handling
    Support for Dynamic Languages
    Try with Resources
    Java nio Package
    Binary Literals, Underscore in literals
    Diamond Syntax
    Automatic Null Handling

By:Rajesh Kr
Date:2021-08-19 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related JDK SUB Links

JDK SUB interview questions and answers for experienced and fresher