TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Java
FOLLOW
Java is a programming language developed by Sun Microsystems, which was later acquired by the Oracle Corporation. Here you may find Java related articles and news.
Articles
(682)
Blogs
(138)
Resources
(3)
Videos
(18)
News
(22)
Articles
Swap First and Last Rows in a Matrix Using Java with Code
Learn how to interchange the first and last rows of a matrix in Java using simple loops or efficient methods like `System.arraycopy()`, complete with examples, explanations, and practical tips.
Vijay Kumari
Jan 28, 2025
Java Program for Counting the Number of Vowels in a String
This article explains how to count the number of vowels (a, e, i, o, u) in a given string using Java. It covers two approaches: a simple method using loops and conditional statements, and a more op...
Aakash Chhillar
Jan 28, 2025
Java Program to Count the Number of Even and Odd in an Array
The title "Java Program to Count the Number of Even and Odd Numbers in an Array" refers to a Java program that demonstrates how to count how many numbers in an array are even and how man...
Aakash Chhillar
Jan 27, 2025
The Java.NET Package
The Java.NET package provides classes for implementing networking functionality in Java. It supports TCP, UDP, and HTTP protocols, enabling tasks like creating sockets, managing URLs, sending/recei...
Ashish Bhatnagar
Jan 25, 2025
Printing a 2D Array in Java with Code
Explore methods to print a 2D array in Java, including nested loops, Arrays.deepToString(), for-each loops, and Java 8 streams, with detailed explanations and code examples for effective implementa...
Vijay Kumari
Jan 23, 2025
Java Program to Calculate Factorial Using Recursion
In this article, we explore how to calculate the factorial of a number using recursion in Java. Factorial, denoted as n!, is the product of all positive integers less than or equal to a given numbe...
Aakash Chhillar
Jan 23, 2025
Merging Two Arrays in Java with Code
This article explores merging arrays in Java, covering efficient techniques like `System.arraycopy()`, manual iteration, Java Streams, and ArrayList, with code examples to suit various programming ...
Vijay Kumari
Jan 22, 2025
Java 21 JUnit Testing Best Practices
The best practices for JUnit testing in Java 21 by Ziggy Rafiq include leveraging new language features like record patterns and string templates. Develop maintainable and robust Java applications ...
Ziggy Rafiq
Jan 21, 2025
Copying All Elements of One Array to Another Array in Java with Code
Learn how to copy arrays in Java using user input, iterative methods, and `System.arraycopy()`. This article demonstrates seamless duplication of entire arrays and subsets with practical examples.
Vijay Kumari
Jan 21, 2025
Java Program to Rotate a Square Matrix by 90 Degrees
Rotating a matrix by 90 degrees is a common problem in programming, often asked in coding interviews and competitions. The task involves changing the arrangement of elements in a square matrix such...
Aakash Chhillar
Jan 21, 2025
Java Program to Generate Pascal's Triangle
A Java Program to Generate Pascal's Triangle creates a pattern of numbers where each number is the sum of the two numbers directly above it. The program allows the user to input the number of r...
Aakash Chhillar
Jan 20, 2025
Sum of Fibonacci Series Up to a Number N in Java with Code
This article explains how to calculate the sum of Fibonacci numbers up to a given number \( N \) in Java, with step-by-step logic, code examples, and practical implementation details.
Vijay Kumari
Jan 20, 2025
Java Program to Check Whether a Number is a Strong Number
A Strong Number, also known as a Krishnamurthy number, is a number where the sum of the factorials of its digits equals the number itself. For instance, the number 145 is considered a Strong Number...
Aakash Chhillar
Jan 20, 2025
Print Fibonacci Series in Java Using Different Methods
This article explores four methods to generate the Fibonacci series in Java: iteration, recursion, dynamic programming (memoization), and Java streams, offering optimized, modern, and functional ap...
Vijay Kumari
Jan 17, 2025
Java Program to Calculate the Sum of Odd Numbers in a Given Range
This topic explains how to write a Java program to calculate the sum of all odd numbers within a specified range. The program takes a user-defined start and end value, then loops through the range ...
Aakash Chhillar
Jan 17, 2025
Java Program to Implement Matrix Transposition
Java Program to Implement Matrix Transposition involves writing a Java program that performs matrix transposition, a mathematical operation where the rows and columns of a matrix are swapped. In si...
Aakash Chhillar
Jan 16, 2025
Java Program to Check Whether a Number is a Perfect Square
The topic "Java Program to Check Whether a Number is a Perfect Square" focuses on creating a Java program that checks if a given number is a perfect square. A number is considered a perfe...
Aakash Chhillar
Jan 15, 2025
Checking Two Matrices Are Equal in Java or Not
Learn how to compare two matrices in Java by implementing a `Matrix` class to handle creation, input, and comparison. This article covers object-oriented concepts, user input, and array manipulation.
Vijay Kumari
Jan 14, 2025
Java Program to Find the Average of Array Elements
"Java Program to Find the Average of Array Elements" refers to a Java program that calculates the average of the numbers stored in an array. The program adds up all the elements of the ar...
Aakash Chhillar
Jan 14, 2025
Sorting Array in Ascending and Descending order in Java
Learn to sort arrays in Java using built-in methods like `Arrays.sort()` for ascending order and `Arrays.sort()` with `Collections.reverseOrder()` for descending order, complete with examples and e...
Vijay Kumari
Jan 09, 2025
No Records Available.
View More
Angular 8 in 10 Days
Challenge yourself
Java Skill Challenge
E-Book Download
Get Certified
C# Advanced