163 subscribers
3.42K photos
24 videos
39 files
371 links
Link: @java_posts

Contact: java.response.email@gmail.com
Download Telegram
Media is too big
VIEW IN TELEGRAM
Java 20: Reviewing the Enhancement in the Latest JDK Release

In what is now a semi-annual tradition, we offer an overview of the JDK Enhancement Proposal (JEPs) delivered with the latest JDK release. Along with thousands of performance, stability, and security updates, JKD 20 offers advances in Project Amber, Project Loom, and Project Panama. In this session, learn all about the value JDK 20 offers develops.

An Oracle DevLive Up - Java Developer Day session. Presented by Aurelio Garcia-Ribeyra - Senior Director, Product Management (Oracle)
Fibonacci Series in Java without using recursion
Let's see the fibonacci series progam in java without using recursion.

Fibonacci series in Java
In fibonacci series, next number is the sum of previous two numbers for example 0, 1, 1, 2, 3, 5, 8, 13, 34, 55 etc. The first two numbers of fibonacci series are 0 and 1.

There are two ways to write the fibonacci series program in java:
* Fibonacci Series without using recursion
* Fibonacci Series using recursion
#Source_code
#6
Fibonacci Series using recursion in Java
Let's see the fibonacci series program in java using recursion.
#Source_code
#7
Let's see the prime number program in java. In this java program, we will take a number variable and check whether the number is prime or not.

Prime Number Program in Java
Prime number in Java: Prime number is a number that is greater than 1 and divided by 1 or itself only. In other words, prime numbers can't be divided by other numbers can't be divided by other numbers than itself of 1. For Example 2, 3, 5, 7, 11, 13, 17 ... are the prime numbers.
#Source_code
#8
Media is too big
VIEW IN TELEGRAM
java 21 New Feature: Sequenced Collections JEP Cafe

Learn the principles of the Sequenced Collections, Sets, and Maps, a new feature introduced in JDK 21.

Sequenced Collections are about modelling collections with a defined encounter order, giving you direct access to their first and last element. Lean about the new Sequenced Collections API, part of the Collections Framework, introduced in JDK 21.
Prime number program using Method in Java

Note: 0 and 1 are not prime numbers. The 2 is the only even prime number because all the other even numbers can be divided by 2.
#Source_code
#9
Prime Number Program in Java (Another way)
You can also use a method where number is not predefined. Here, user has to put the number to check if the number is prime.
#Source_code
#10
Media is too big
VIEW IN TELEGRAM
java Management Service - Managing Your Java Estate Just Got Easier

Operating an organizations' Java estimate is complex. Typically, there will be multiple versions of Java, deployed across dozens of environments, supporting many applications. The complexity of managing the estate is the product of these multiplied together.

Java Management Service from Oracle is a cloud service that can help address this complexity. Basic discovery services, available to everyone, provide critical insights into Java application behavior and compliance. Advanced features, available to Java SE Subscription customers and OCI customers, deliver centralized runtime management, performance, and cryptographic usage information. Users of Java Management Service can:
* Track Java runtime and applications.
* Update or upgrade old Java installations.
* Monitor and gather additional insights on Java applications
Find prime numbers between two numbers
You can also find prime numbers between two specified numbers.
#Source_code
#11