16 December 2020

#CoreJava_09

#CoreJava_09
What are the main goals of Java 9 release?
What is module in Java 9?
What features module system has provided?
What is REPL?
What is JShell?
What is multi-release jar format introduced in Java 9?
What methods are added to Collections in Java 9?
What is default project structure for a web based application?
What changes are made to Stream from java 8 in java 9?
What is the use of takeWhile method in Stream?
What is the use of dropWhile method in Stream?
What changes are there in iterate method of Stream?
What is the use of ofNullable method in Stream?
What is the purpose of try-with-resource statement?
What changes are made to @Deprecated annotation in Java 9?
What changes are made to diamond operator in Java 9?
What changes are made to Optional class in Java 9?
What is multi-resolution image api in Java 9?
What is purpose of CompletableFuture?
Name some of significant changes in Java 9.
How will you create html5 compliant javadoc using java 9?
How can you run a multirelease jar on different version of java? Give an Example.
How many kind of variables/methods an interface supports in Java 9?
How can you check a system process details in Java 9?
Can you create a multi-release jar for different version of java? Give an Example.
Can you perform some function if a process exits?
Collections are enhanced in Java 9. What are the changes?
Source code of a module lies in which folder?
  • Java Platform Module System (JPMS) ? Project Jigsaw
  • JShell (Interactive Java Shell / REPL)
  • Improved Javadoc with Search and HTML5 Support
  • Private Methods in Interfaces
  • Stream API Enhancements (takeWhile, dropWhile, iterate)
  • Collection Factory Methods (List.of(), Set.of(), Map.of())
  • Try-With-Resources Improvement
  • Enhanced @Deprecated Annotation
  • Compact Strings in JVM
  • Multi-Release JAR Files
  • Process API Enhancements (ProcessHandle)
  • HTTP/2 Client (Incubator)
  • Stack-Walking API
  • Platform Logging API and Service

No comments:

Post a Comment

Most views on this month

Popular Posts