You have a privilege to create a quiz (QnA) related to this subject and obtain creativity score...
What is New in Java 8
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.
More Annotations
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.
Improved type inference.
Method parameter reflection.
Collections
Classes in the new java.util.stream package provide a Stream API to support functional-style operations on streams of elements. The Stream API is integrated into the Collections API, which enables bulk operations on collections, such as sequential or parallel map-reduce transformations.
Was it clear so far?
Performance Improvement for HashMaps with Key Collisions
Compact Profiles contain predefined subsets of the Java SE platform and enable applications that do not require the entire Platform to be deployed and run on small devices.
Security
Client-side TLS 1.2 enabled by default
New variant of AccessController.doPrivileged that enables code to assert a subset of its privileges, without preventing the full traversal of the stack to check for other permissions
Assignments:
1. Read: http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html
2. Select at least one feature and describe with code samples in your essay.
3. Email to dean@ituniversity.us as an attachment file, 1.2.1.2.Java8.YourFirstName.LastName.doc
4. Email at at least one QnA to dean@ituniversity.us
Reminder on QnA format:
Question: ...question...
Answer: .. correct answer ...
Answer: .. wrong ..
Answer: .. wrong answer ..
2016-04-11_09:43 by Tony Santillanes
For the project assignment, I added a SQL statement to truncate the UserProfile table every time the program runs. I thought this would be a good solution so that the data could all be managed in the CSV file and will only insert records into the database from the file each time and not duplicate the records each time.
But, is there any easier way to do this?
Also, if there are duplicates in the csv file should the duplicates be excluded with constraints on the database as opposed to anything in the java program?