What's New in JDK 8 ?

Asked by Last Modified  

13 Answers

Learn Java

Follow 0
Answer

Please enter your answer

Tutor - Maths and computer science

1.Lamda Expressions I started with lambda expressions as this is probably the most sought after feature in the language after probably Generics/Annotations in Java 5. 2.Generic Type changes and improvements Taking clues from Lambdas, generic collections can also infer the data types to be used to...
read more
1.Lamda Expressions I started with lambda expressions as this is probably the most sought after feature in the language after probably Generics/Annotations in Java 5. 2.Generic Type changes and improvements Taking clues from Lambdas, generic collections can also infer the data types to be used to an extent. The methods for instance using a generic collection need not specify genric types . Stream Collection Types (java.util.stream) A stream is a iterator that allows a single run over the collection it is called on. Along with Lambdas, this is another noteworthy feature to watch out for. You can use streams to perform functional operations like filer or map/reduce over collections which can be streamed as individual elements using Stream objects. Streams can run sequentially or parallely as desired. The parallel mode makes use of fork/join framework and can leverage power of multiple cores. 4. Functional Interfaces (java.util.function) These interfaces contain some default methods which need not be implemented and can run directly from the interface. This helps with existing code – changing interfaces need not make all the classes implementing it implement new methods. This is similar to Traits in Scala and functional interfaces will be compatible with lambdas. 5. Nashorn – The Node.js on JVM This is the javascript engine that enables us to run javascript to run on a jvm. It is similar to the V8 engine provided by chrome over which Node.js runs. It is compatible with Node.js applications while also allowing actual Java libraries to be called by the javascript code running on server. This is exciting to say at the least as it marries scalability and asynchronous nature of Node.js with safe and widespread server side Java middleware directly. 6.The Date/Time API is moved to java.time package and Joda time format is followed. Another goodie is that most classes are Threadsafe and immutable. 7.Type Annotations Now annotations can be used to decorate generic types itself. 8. Reflection api is slightly increased with the support of TypeName, GenericString, etc. String.join() method is a welcome addition as a lot of self created utility classes are created instead read less
Comments

Teaching Programming & Coding Since 2004.

Productivity In regards of productivity JDK 8 targets two main areas: - collections -- a more facile way to interact with collections through literal extensions brought to the language - annotations -- enhanced support for annotations, allowing writing them in contexts where are currently illegal...
read more
Productivity In regards of productivity JDK 8 targets two main areas: - collections – a more facile way to interact with collections through literal extensions brought to the language - annotations – enhanced support for annotations, allowing writing them in contexts where are currently illegal (e.g. primitives) Performance The addition of the Fork/Join framework to JDK 7, was the first step that java took in the direction of multicore CPUs. JDK 8 takes this road even further by bringing closures’ support to java (lambda expression, that is). Probably the most affected part of java will be the Collections part, the closures combined with the newly added interfaces and functionalities pushing the java containers to the next level. Besides the more readable and shorter code to be written, by providing to the collections a lambda expression that will be executed internally the platform can take advantage of multicore processors. Modularity One of the most interresting pieces for the community was project jigsaw: “The goal of this Project is to design and implement a standard module system for the Java SE Platform, and to apply that system to the Platform itself and to the JDK.”. I am using past tense because, for the those of us that were hoping to get rid of the classpaths and classloaders, we have to postpone our excitement for Java 9, as for that point of time was also project jigsaw postponed. read less
Comments

Java,J2EE,Spring,Webservices,Hibernate,Cloud And Android Expertise

Lambda Expressions
Comments

java trainer

Java Platform, Standard Edition 8 is a major feature release. This document summarizes features and enhancements in Java SE 8 and in JDK 8, Oracle's implementation of Java SE 8. Click the component name for a more detailed description of the enhancements for that component. Java Programming Language ...
read more
Java Platform, Standard Edition 8 is a major feature release. This document summarizes features and enhancements in Java SE 8 and in JDK 8, Oracle's implementation of Java SE 8. Click the component name for a more detailed description of the enhancements for that component. Java Programming Language Lambda Expressions, a new language feature, has been introduced in this release. They enable you to treat functionality as a method argument, or code as data. Lambda expressions let you express instances of single-method interfaces (referred to as functional interfaces) more compactly. Method references provide easy-to-read lambda expressions for methods that already have a name. Default methods enable new functionality to be added to the interfaces of libraries and ensure binary compatibility with code written for older versions of those interfaces. Repeating Annotations provide the ability to apply the same annotation type more than once to the same declaration or type use. Type Annotations provide the ability to apply an annotation anywhere a type is used, not just on a declaration. Used with a pluggable type system, this feature enables improved type checking of your code. read less
Comments

Which is updation of JDK7 nothing but they includes new features like added new API's ex; DATE and Time API,array sorting, bulk operations etc
Comments

Java/J2EE, B.E./B.Tech/MCA SubjectsTraining

1.Lamda Expressions 2.Generic Type changes and improvements 3. Stream Collection Types (java.util.stream) 4. Functional Interfaces (java.util.function) 5. Nashorn -- The Node.js on JVM 6. Date/Time changes (java.time) 7. Type Annotations
Comments

Professional Java J2EE Training with certification focus or Maths/English Tuition

Please see this link for entire details...http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html
Comments

IT Professional Trainer with 15 years of experience in IT Industry

JDK 8.0 Features:- 1.Lamda Expressions 2.Generic Type changes and improvements 3. Stream Collection Types (java.util.stream) 4. Functional Interfaces (java.util.function) 5. Nashorn -- The Node.js on JVM 6. Date/Time changes (java.time) 7. Type Annotations 8.Other -- (nice to have) Changes
Comments

Computer

you can get complete details of your question http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html
Comments

Computer Science And Maths Tutor

Library class updated
Comments

View 11 more Answers

Related Questions

Is it good to go for a Java coaching center and learn Java (with advanced Java) to improve my programming skills?
yes, Please check the Institute reviews and discuss with the tutor, what topics were covered in class. Ask about the practicals session and how many hours/duration of the course.
Gerda
0 0
5
How to use Java?
Basically JAVA is in two parts such as: Core JAVA. Advance JAVA and Frame works. What you want to learn Complete JAVA or Core part only.
Vinod
Hi, We provide online instructor-led training. I am looking for Java Teacher/Instructor who can teach java via online. If anyone interested then contact me. I have to start the class from tomorrow onwards.
Hi, If you haven't finalised yet, I am interested in being an instructor. I will be teaching the newest version of Java, Java 10. Experience - 3 yrs as Software Engineer, BTech CSE, teaching Java to school and college students since 3 yrs.
Ujjwal Rana
Why Java Laguage is not provided get method into Iterator? is there any specific reson.
1) Iterator is an Interface. 2) It's sole purpose is to iterate not save value. POJO's have getters and setters.
Niraj Raj

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Necessity of Theory and Practical in Computer Science.
Upon studying a subject both theory and practical are important. Usually many schools concentrate more on theory and the marks not on the practical. Other and opposite kind of people prefer practical...

Java Achieve (JAR)
Java Archieve is a binary form to bundle a Java library which equivalent to zip file. It contains .class files, .properties, .jpeg, OR any supporting files to execute this library. For Example- junit.jar,...

Introduction to Course Content
Video about what we are going to learn throughout the Java Training Session .

How to create a Singleton class?
How to create a Singleton class: Q) What is a singleton class? A) In simple words, a singleton class is a class which can have only one instance at any point of time throughout the application and provides...

Comparable vs Comparator
java.lang.Comparable java.util.Comparator For comparing some other object with its own object. Ex. I am comparing myself to some other employee. Method signature is: int compareTo (T object). For...

Recommended Articles

Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...

Read full article >

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you