
Learn Java new features from Java 7 to 12 on a single platform, focusing on important features, not basics like garbage collection, performance, or security, with a 30-day money-back guarantee.
Explore how try-with-resources automatically closes resources, preventing memory leaks and reducing boilerplate, as Java 7 introduces implicit resource management and Java 9 adds private resource enhancements.
Learn how underscores in numeric literals improve readability in Java, shown through a credit card number example. The feature is supported from Java 7 onward, not in earlier versions.
Explore the new file system API (NIO) that addresses Java’s legacy I/O issues by simplifying reading and writing, eliminating explicit resource closing, and improving cross-platform consistency.
Explore Java 8 introduction and its features, including default methods in interfaces, static interface methods, for-each loop, functional interfaces, lambda expressions, predicates, method references, and double streams.
Discover Java's functional interfaces and the evolution from single abstract method concepts before Java 8 to functional interfaces after Java 8, with runnable, comparable, and callable as examples.
Learn how Java lambda expressions create anonymous functions, compare them with named methods that add two numbers, and convert methods to concise, single-line expressions with optional parameters.
Master lambda expression rules in Java: curly braces are optional for single-line expressions, mandatory for multi-line or when using return, semicolons are required, and lambdas require a functional interface.
See how the code before Java 8 uses a verbose interface implementation, then replace it with a lambda (an anonymous function) that prints hello.
Learn how a lambda expression works by debugging an anonymous method that prints inside the lambda and returns the sum of two integers, with inputs 100 and 200.
Learn how method reference using double colon enables one method to reference another, including static and non-static methods, through functional interfaces and its relation to lambda expressions.
Understand default methods in interfaces, introduced in Java 8, which provide common functionality with a body. Learn how this avoids breaking changes when adding new methods.
Learn how static methods in interfaces, introduced in Java eight, offer reusable utility functionality accessible through the interface name, with bodies, no overriding, and practical Java examples.
Functional Interface Part 3
Explore how the predefined functional interface Function handles a single input and output in Java 8 with currency conversion and square calculations as examples.
Explore chaining Java functions with andThen and compose, where function1 feeds into function2 and the apply method is used, while compose applies the before function first.
The predefined functional interface supplier requires no input and returns a value via get. Use it to supply a value without a custom method, as shown in Java 8 onward.
Explore the predefined functional interface consumer in Java, showing how it accepts a single input and returns no value, with Java 8 examples and an email demo.
Explore how streams transform collection processing by filtering even Java versions and collecting results, contrasting pre Java eight loops with the streamlined stream approach using filter and collect.
Explore Java stream map and flatMap methods, contrast one-to-one vs one-to-many mappings, and learn applying uppercase, lowercase conversions and string concatenation in examples.
Compare sequential streams and parallel streams by filtering even numbers from a 70,000-integer list and collecting results; parallel streams deliver up to five times the performance of sequential streams.
Discover the java.time package, inspired by joda-time, as a modern date and time API. Learn how Java 8 provides a consistent replacement for older date-time classes and fixes initialization quirks.
Explore the java.time package from Java 8, using LocalDate, LocalTime, and LocalDateTime to display current date and time.
Learn to retrieve current local time details and create specific dates and times using LocalDate, LocalTime, and LocalDateTime, with examples like 15th August 1947 and 2019 March 5th.
Explore private methods in interfaces from Java 9 onwards to reuse logic and reduce redundancy. A helper generates random numbers used by display methods and isn't visible to implementing classes.
This lecture introduces Java 9 stream enhancements—takeWhile, dropWhile, and the on my label method for safe handling—demonstrated with a numbers list.
Explore how Java 9 updates to the process API simplify system interaction, enabling pid retrieval, process creation and destruction, process handles, waiting for termination, and access to parent and children.
Learn how to import a class in jshell using LocalDate, print LocalDate.now, and see that imports persist only for the current session, requiring re-import in new sessions.
Create a Java module using JPMS in Eclipse, with proper module naming and exporting the package, then link the module to a Java client project to run Hello JPM.
Discover how jlink creates a custom runtime image by including only needed modules, saving memory on small devices. The lecture demonstrates building a Hello module and running it with Java.
Download Java 11 as Java 10 reaches end of support, and understand why users should switch from Java 10 to Java 11 for continued support.
Discover how local variable type inference with var reduces verbosity by letting the compiler infer types from assigned values, with examples and initialization rules.
Explore time-based release versioning in Java, uncovering a six-month release cadence, the shift from major to feature releases, and the roles of updates, interim releases, patches, and long-term support.
Consolidate the JDK forest from eight repositories into a single repository, transforming a multi-repo setup into a centralized hub as a housekeeping activity.
Explore Java 10 features, including the garbage collector interface, parallel full gc, and improvements to G1 worst-case pauses, enabling heap allocation on alternative memory devices.
Install Java 11 and set up Eclipse, including license terms and 64-bit only support, then configure the project to use the installed Java version and run a simple test program.
Compare pre-Java 11 string checks using length, equals with an empty string, and is empty, and learn how Java 11 introduces is blank for the same outcome.
Demonstrate how Java 11's strip methods replace manual trim logic by removing spaces from both ends, or by using strip leading and strip trailing to target left or right spaces.
Explore Nashorn, a JavaScript engine in Java used to call JavaScript functions from Java. The video notes its deprecation and planned removal in a future release.
Learn how to use the HttpClient API introduced in Java 9, performing GET requests to Google, with both synchronous and asynchronous calls and support for text and binary data.
Download the JDK 12 from Oracle, accept the license agreement, and install on a 64-bit OS; note there is no 32-bit download, then verify the version.
Install IntelliJ IDEA 2019 prerelease and configure it for JDK 12 by downloading, installing, and selecting the project structure.
Explain how Java 12 addresses switch statement problems by introducing switch expression, removing the need for break, and enabling multi-case groups that simplify prior verbose patterns.
See how to assign a complete switch expression to a variable in Java. Compare thought switch assignment with switch assignment and observe the resulting output.
Learn how Java 12 formats numbers with compact number formatting, showing short and long styles and Hindi India to display 1000 as 1 k and 1 million as 1 m.
Explore new string methods in Java 12, including indent for adding spaces and transform for modifying a string with a function and stream operations.
Explore whether java long-term support is provided, using java -version checks to compare versions, and confirm that java 11 offers long-term support.
Steps:
Please create a java project
Copy contents from the attached zip file into ‘src’ folder
This video shows how to download Java 7 from the site and warns that Java 7 is not updated for security or production use, suggesting Java 8 or Java lemon.
The G1 garbage collector partitions the Java heap into regions, prioritizing cleanup where garbage accumulates, and divides memory into young and old regions to optimize efficiency.
Are you looking for a single platform to learn the important Java features introduced in Java 7, Java 8, Java 9, Java 10 ,Java 11 and Java 12, rather than wasting time in googling at different platforms/websites/places?
Do you want to make a Great impression on your Code Reviewer/Manager/Lead by using new Java Features?
Are you preparing for Java Interviews?
This is the right course for you !!
This is the UNIQUE course where you will find the important new features introduced in
Java 7
Java 8
Java 9
Java 10
Java 11
Java 12
All the above features you will get under a single platform.
Recently I attended many interviews. I observed that most of the interviewers are asking Java new features in the interview, then I started exploring Java new features, this journey of exploring Java new feature was very painful.
I wasted lots of time googling on different websites.
I could not find one single place where I can see all the important Java new features.
I could not find organized contents.
I could not find the proper code, with practical examples.
I could not find the comparison of Java features in different Java versions.
Then I decided that I’ll create a course to address the above problems, especially for you!
I’ve been reviewing code for a long time, and I observe many Java developers are still not using Java new features. If you are still writing the Java code using old Java style, it will give a very bad impression on your code reviewer, it clearly shows that you are not up to date.
Being a Java Developer, you must know the new features introduced in Java in different versions and write the Java code using these new features rather than writing the verbose code using the old Java style.
If you are a Java programmer and want to become a better Java Programmer then I’m super excited to help you in this course.
What are you waiting for?