Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Last updated: Apr 26, 2022

Problems in Java

In this blog series, we’ll practice different problems based on concepts that we learn so far. The best way we learn anything is by practicing questions. So what you are waiting for let’s get started. Hope, these problems help you to improve your Java programming coding skills.
Java Hello World Program
In this blog, we will learn how to write a simple hello world program in Java.
Prime Number Program in Java EASY
In this article, we will discuss what prime numbers are and different methods through which we can find if a number is prime in Java.
Menu Driven Program in Java EASY
This article discusses Menu Driven programs and their implementation in Java in detail
Palindrome Program in Java
This blog mainly focuses on the problem to find out whether a given number is palindrome or not. You will learn to solve the problem with different approaches and implementation in Java with proper program flow diagrams and complexity analysis.
Factorial of a Number in Java
This blog mainly covers how to find out the factorial of a number in Java. You will learn different approaches to find out the factorial of a number in Java with proper explanation and program flow diagram.
Java Program to Check Armstrong Number
Armstrong numbers are positive n-digit numbers that are equal to the sum of their digits’ nth powers.
Printing Pattern in Java EASY
Java Pattern Programs 1. Simple Pyramid Pattern 2. Left Triangle Star Pattern 3. Right Triangle Star Pattern 4. Downward Triangle Star Pattern
Java Program to Check if a String is Palindrome EASY
This blog will discuss how to solve a problem - String Palindrome in Java and learn to write a 'string palindrome program in java'.
Reverse a String in Java
This blog explains about the different methods used to reverse a string.
Swapping of Two Numbers EASY
This blog contains different ways to swap two numbers in the Java programming language.
Int to String Conversion in Java
This article will discuss all the possible ways to convert an int Data Type to the String Data type in Java. We will further look at examples to understand the implementation of int to String conversion in Java.
Check if Two Strings are Anagrams
This post covers different methods to write Java programs to determine whether two strings are anagrams or not.
Number of Characters in a String
In this blog, we have discussed the program to count the total number of characters in a string using the java programming language.
Duplicate Characters in a String
This blog mainly focuses on the problem of finding out the duplicate characters in a string in Java. You will learn to solve the problem with different approaches and implementation in Java with proper program flow diagrams and complexity analysis.
Program to Print the Elements of an Array
In this article, we'll be discussing one of the very basic concepts of Java arrays, i.e. Printing elements in Java.
Largest Element in an Array
In this article, We will discuss the Java Programme to find the Largest Element in an array.
Smallest Element in an Array
In this article, We will discuss the Java Programme to find the Smallest Element in an array.
Program to find Sum of Natural Numbers
In this article, we will discuss the java programme to find the Sum of Natural Numbers.
Java Program to Display Even Numbers from 1 to 100 EASY
In this article, we will learn various ways to display even numbers in the range of 1 to 100 by writing a program in Java.
Java Program to Find the Largest of Three Numbers
In this article, we will learn various ways to find the largest of three numbers by writing a program in Java.
How to Sort List in Java
In this article, we will learn how to sort a list in Java.
Print Duplicate Elements in Array EASY
In Java, an array is index-based. The array's first element is placed at the 0th index, the second element at the 1st index, etc.
Program to find all Punctuations in a String
In this article, We will discuss the Java Programme to find the total number of punctuations in a string.
Java program to find transpose of a matrix
In this blog, we will look at the approach to find the transpose of a matrix in Java.
Tribonacci Series in Java EASY
Tribonacci series in java : Learn about the tribonacci series, Tribonacci Series in Java Program and Nth Term of the Tribonacci Series with the help of examples.
Hybrid Inheritance in Java EASY
Inheritance is an important topic from an interview perspective. This blog discusses hybrid inheritance in Java in detail.
Duck Number in Java MEDIUM
Duck number in java is an integer that has at least one "0" in it but not in the beginning. In this blog, we will learn more about duck number in java.
Nuts and Bolts Problem | Set 1
This article discusses the nuts and bolts problem using various techniques.
Author Alisha
0 upvotes
Bubble Sort in Java EASY
This article will discuss bubble sort Java implementation in detail. It will also discuss the advantages and disadvantages of the bubble sort java.
Author Alisha
0 upvotes
Pattern Programs in Java Language EASY
In this article, we will learn how to print a pattern in Java. Java pattern program is classified into three categories: Start Pattern; Number Pattern and Character Pattern.
Author Alisha
0 upvotes
What is Linear Search? EASY
In this blog, we will learn about Linear search with an example. Also, linear search algorithm, code implementation, advantages and disadvantages.