Skip to content
Tutorials
Python Tutorial
Taking Input in Python
Python Operators
Python Data Types
Python Numbers
Python String
Python Lists
Python Tuples
Sets in Python
Python Dictionary
Python Loops and Control Flow
Python If Else
Python For Loops
Python While Loops
Python Breaks
Python Continue Statement
Python Pass Statement
Python Functions
Python OOPS Concept
Python Data Structures
Python DSA
Linked List
Stack
Queue
Tree
Heap
Hashing
Graph
Sets
Map
Advance Data Structure
Sorting Algorithms
Searching Algorithms
Python Exception Handling
Python File Handling
Python Exercises
Python List Exercise
Python String Exercise
Python Tuple Exercise
Python Dictionary Exercise
Python Set Exercise
Python Design Patterns
Python Programming Examples
Python Practice Questions
Java
Java Programming Language
Java Tutorial
Data Types
Variables
Operators
Operators in Java
Arithmetic Operators
Unary Operators
Assignment Operators
Relational Operators
Logical Operators
Ternary Operators
Flow Control in Java
Flow Control
if Statement
if-else Statement
if-else-if Ladder
Continue Statement
Break Statement
Return Statement
Loops in Java
Loops
do-while Loop
For Loop
For-each Loop
Methods
Strings
Arrays
OOPs Concepts
OOPs Concepts
Classes and Objects
Access Modifiers
Inheritance
Abstraction
Encapsulation
Polymorphism
Interface
Packages
Multithreading
File Handling
Regular Expression
Java Collections
Java Collections
Collection Class
List Interface
ArrayList
Vector Class
Stack Class
LinkedList Class
Queue Interface
Set Interface
HashSet Class
TreeSet
Map Interface
HashMap Class
HashTable Class
Iterator
Comparator
Collection Interview Questions
Java 8 Tutorial
Java Programs
Java Programming Examples
Java Array Programs
Java String Programs
Java Date-Time Programs
Java File Handling Programs
Java Collection Programs
Java JDBC Programs
Java Apache POI Programs
Java OpenCV Programs
Java Interview Questions
Java Interview Questions
Core Java Interview Questions-Freshers
Java Multithreading Interview Questions
OOPs Interview Questions and Answers
Java Exercises
Java Quiz
Java Quiz
Core Java MCQ
Java Projects
Advance Java
Spring Tutorial
Spring Boot Tutorial
Spring Boot Interview Questions
Spring MVC Tutorial
Spring MVC Interview Questions
Hibernate Tutorial
Hibernate Interview Questions
Programming Languages
C
C++
JavaScript
PHP
R Tutorial
C#
SQL
Scala
Perl
Go Language
Kotlin
System Design
System Design Tutorial
What is System Design
Key Terminologies in System Design
Analysis and Architecture of Systems
Scalability in System Design
Databases in System Design
High Level Design or HLD
Low Level Design or LLD
Communication Protocols
Web Servers and Proxies
Case Studies in Designing Systems
Complete System Design Tutorial
Software Design Patterns
Factory Pattern
Observer Pattern
Singleton Design Pattern
Decorator Pattern
Strategy Pattern
Adapter Pattern
Command Pattern
Iterator Pattern
Prototype Design Pattern
All Design Patterns
System Design Roadmap
Top 10 System Design Interview Questions and Answers
Interview Corner
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Computer Science Subjects
Mathematics
Operating System
DBMS
Computer Networks
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
DevOps
GIT
AWS
Docker
Kubernetes
Microsoft Azure Tutorial
Google Cloud Platform
Linux
Linux Tutorial
Linux Commands A-Z
Linux Commands Cheatsheet
25 Basic Linux Commands
File Mangement in Linux
File Permission Commands
chmod Command
chown Command
chgrp Command
unmask Command
Linux System Administration
Linux File System
Linux Shell Scripting
Linux Networking
Linux Firewall
Linux Interview Questions
Software Testing
Software Testing Tutorial
Software Testing Tutorial
What is Software Testing
Principles of Software Testing
Types of Software Testing
Levels of Software Testing
Automation Testing
Manual Testing
Testing Tools
Software Testing Tools
Defect Testing Tools
Cross-Browser Testing Tools
Integration Testing Tool
Unit Testing Tools
Mobile Testing Tools
GUI Testing Tool
Security Testing Tools
Penetration Testing Tools
Selenium
Selenium Tutorial
Selenium Basics
Selenium Python
Jira
Jira Tutorial
JIRA Installation
JIRA Login
JIRA Dashboard
Software Engineering
Software Engineering Tutorial
Software Development Life Cycle (SDLC)
Software Characteristics
Software Quality
Waterfall Model
Iterative Waterfall Model
Spiral Model
Prototyping Model
Incremental Process Model
Interview Questions
Software Testing Interview Questions
Automation Testing Interview Questions
Manual Testing Interview Questions
Software Engineering Interview Questions
Penetration Testing Interview Questions
API Testing Interview Questions
Postman
Postman Tutorial
Postman for API Development
Download and Install Postman
API Testing Using Postman
Generate HTML Report for Postman
Databases
DBMS Tutorial
SQL Tutorial
PostgreSQL Tutorial
MongoDB Tutorial
SQL Interview Questions
MySQL Interview Questions
PL/SQL Interview Questions
Android
Android Tutorial
Android Studio Tutorial
Kotlin For Android
Android Projects
Android Interview Questions
6 Weeks of Android App Development
Excel
MS Excel Tutorial
Introduction to MS Excel
Data Analysis in Excel
Basic Excel Formulas & Functions
Data Analysis in Advanced Excel
Workbooks
Statistical Functions
Data Visualization in Excel
Pivot Tables in Excel
Excel Spreadsheets in Python
Basic Excel Shortcuts
Mathematics
Number System
Algebra
Linear Algebra
Trigonometry
Set Theory
Statistics
Probability
Geometry
Mensuration
Logarithms
Calculus
Commerce
Business Studies
Accountancy
Microeconomics
Statistics for Economics
Macroeconomics
Human Resource Management (HRM)
Management
Income Tax
Finance
Commerce Complete Guide
SEO-Search Engine Optimization
What is SEO
Search Engine Optimization Basics
Types of SEO
Keyword Optimization in SEO
Backlinks in SEO
SEO Blogs
Mobile SEO
SEO Complete Reference
Aptitude
Aptitude Question and Answers
Quantitative Aptitude
Logical Reasoning
Verbal Ability
DSA
Data Structures
Arrays
Matrix
Strings
Linked List
Singly Linked List
Doubly Linked List
Circular Linked List
Doubly Circular Linked List
Linked List Tutorial
Stack
Queue
Tree
Generic Tree
Binary Tree
Binary Search Tree
AVL Tree
B Tree
B+ Tree
Red Black Tree
Tree Data Structure Tutorial
Heap
Hashing
Graph
Set Data Structure
Map Data Structure
Advanced Data Structure
Data Structures Tutorial
Algorithms
Analysis of Algorithms
Design and Analysis of Algorithms
Asymptotic Analysis
Asymptotic Notations
Worst, Average and Best Cases
Searching Algorithms
Linear Search
Binary Search
Searching Algorithms Tutorial
Sorting Algorithms
Selection Sort
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Heap Sort
Counting Sort
Radix Sort
Bucket Sort
Sorting Algorithms Tutorial
Greedy Algorithms
Dynamic Programming
Graph Algorithms
Pattern Searching
Recursion
Backtracking
Divide and Conquer
Mathematical Algorithms
Geometric Algorithms
Bitwise Algorithms
Randomized Algorithms
Branch and Bound
Algorithms Tutorial
DSA Tutorial
Practice
All DSA Problems
Problem of the Day
Company Wise Coding Practice
Amazon
Microsoft
Flipkart
Explore All
GfG SDE Sheet
Practice Problems Difficulty Wise
School
Basic
Easy
Medium
Hard
Language Wise Coding Practice
CPP
Java
Python
Curated DSA Lists
Beginner's DSA Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Competitive Programming
Company Wise SDE Sheets
Facebook SDE Sheet
Amazon SDE Sheet
Apple SDE Sheet
Netflix SDE Sheet
Google SDE Sheet
DSA Cheat Sheets
SDE Sheet
DSA Sheet for Beginners
FAANG Coding Sheet
Product-Based Coding Sheet
Company-Wise Preparation Sheet
Top Interview Questions
Top 100 DSA Interview Questions Topic-wise
Puzzles
All Puzzles
Top 100 Puzzles Asked In Interviews
Top 20 Puzzles Commonly Asked During SDE Interviews
Data Science
Python Tutorial
R Tutorial
Machine Learning
Data Science using Python
Data Science using R
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Python Data Visualization Tutorial
Data Visualization with R
Data Analysis
Data Analysis with Python
Data Analysis with R
Deep Learning
NLP Tutorial
Web Tech
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
PHP Tutorial
ReactJS Tutorial
NodeJS Tutorial
AngularJS Tutorial
Bootstrap Tutorial
Web Development Using Python
Django
Getting started with Django
Create an App in Django
Views In Django
Django Templates
Django URL patterns
Django Admin Interface
Django Models
MySQL Databased with Django
Django CRUD
Django Forms
Django Static File
Projects for Beginners
Django Tutorial
Flask
Web Development Using Flask
Flask App Routing
URL building in Flask
Flask Templates
Templating With Jinja2 in Flask
Flask Model
Database with Flask SQL Alchemy
Authentication with Flask
WTForms in Flask
Static files in Flask
Python Flask Projects
Flask Interview Questions
Frontend Projects
Building a Survey Form using HTML and CSS
Food delivery system using HTML and CSS
ToDo webapp using Django
Building Blog CMS
Add Pagination in Django
Tailwind CSS with Django
Django with Reactjs
Postman
Github
JSON Tutorial
TypeScript Tutorial
Wordpress Tutorial
Web Design
Web Browsers
Google Chrome
Mozilla Firefox
Apple Safari
Microsoft Edge
Tor
Cheat Sheets
HTML Cheat Sheet
CSS Cheat Sheet
JavaScript Cheat Sheet
React Cheat Sheet
Angular Cheat Sheet
jQuery Cheat Sheet
Bootstrap Cheat Sheet
JavaScript Projects
Learn Complete Web Development
File Formats
Courses
Coding for Everyone
DSA to Development
Machine Learning and Data Science
DSA Courses
Data Structure & Algorithm(C++/JAVA)
Data Structure & Algorithm(Python)
Data Structure & Algorithm(JavaScript)
Programming Languages
CPP
Java
Python
JavaScript
C
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
▲
Similar Topics
DSA
21.9k+ articles
Java
10.2k+ articles
Strings
3.2k+ articles
Java Programs
2k+ articles
Java Examples
210+ articles
Java-Strings
190+ articles
strings
100+ articles
java-regular-expression
91 articles
regular-expression
89 articles
Java-Data Types
31 articles
Java-String-Programs
120+ posts
Popular Articles
Recent Articles
Java Program to Convert Enum to String
Last Updated: 17 June 2021
Given an enum containing a group of constants, the task is to convert the enum to a String.Methods:We can solve this problem using two metho
...read more
Java
Java Programs
Picked
Java-String-Programs
Java-Enumeration
Java Program to Find the Occurrence of Words in a String using HashMap
Last Updated: 19 December 2021
HashMapKey, Value provides the basic implementation of the Map interface of Java and import java.util.HashMap package or its superclass. Has
...read more
Java
Java Programs
Java-HashMap
Java-String-Programs
Java Program to Add Two Binary Strings
Last Updated: 19 May 2023
When two binary strings are added, then the sum returned is also a binary string.Example:Input : x = "10", y = "01"Output: "11"Input : x =
...read more
Java
Java Programs
Java-String-Programs
Similar Topics
DSA
21.9k+ articles
Java
10.2k+ articles
Strings
3.2k+ articles
Java Programs
2k+ articles
Java Examples
210+ articles
Java-Strings
190+ articles
strings
100+ articles
java-regular-expression
91+ articles
regular-expression
89+ articles
Java-Data Types
31+ articles
Convert ArrayList to Comma Separated String in Java
Last Updated: 18 November 2021
ArrayList is a part of collection framework and is present in java.util package. It provides us with dynamic arrays in Java. In order to con
...read more
Java
Java-Collections
Java Programs
Java-ArrayList
Picked
Java-String-Programs
Java Program to Convert String to Object
Last Updated: 27 November 2020
In-built Object class is the parent class of all the classes i.e each class is internally a child class of the Object class. So we can direc
...read more
Java
Technical Scripter
Java Programs
Picked
Java-String-Programs
Technical Scripter 2020
Check if a given string is Pangram in Java
Last Updated: 17 August 2021
Given string str, the task is to write Java Program check whether the given string is a pangram or not.A string is a pangram string if it co
...read more
Arrays
Strings
Java Programs
Java-String-Programs
DSA
Convert Snake Case string to Camel Case in Java
Last Updated: 23 August 2022
Given a string in Snake Case, the task is to write a Java program to convert the given string from snake case to camel case and print the mo
...read more
Strings
Java Programs
Java-String-Programs
strings
DSA
Convert camel case string to snake case in Java
Last Updated: 13 December 2022
Given a string in camel case, the task is to write a Java program to convert the given string from camel case to snake case and print the mo
...read more
Strings
Pattern Searching
Java Programs
java-regular-expression
Java-String-Programs
regular-expression
DSA
How to pad a String in Java
Last Updated: 04 April 2020
Given a string str of some specific length, the task is to pad this string with the given character ch, inorder to make the string of length
...read more
Java
Java-String-Programs
Convert List of Characters to String in Java
Last Updated: 31 July 2023
Given a list of characters. In this article, we will write a Java program to convert the given list to a string.Example of List-to-String Co
...read more
Java
Technical Scripter
Java-Strings
java-list
Picked
Java-StringJoiner
Technical Scripter 2018
Java-String-Programs
Java-List-Programs
Interning of String in Java
Last Updated: 22 June 2023
String Interning is a method of storing only one copy of each distinct String Value, which must be immutable. Applying String.intern() on a
...read more
Java
Technical Scripter
Java-Strings
Java-lang package
Java-Functions
Java-String-Programs
Remove Leading Zeros From String in Java
Last Updated: 03 February 2023
Given a string of digits, remove leading zeros from it.Illustrations:Input : 00000123569Output: 123569Input: 000012356090Output: 12356090App
...read more
Java
Java-Strings
Java-String-Programs
Java Program to Swap two Strings Without Using any Third Variable
Last Updated: 11 September 2023
Given two string variables, a and b, your task is to write a Java Program to swap these variables without using any temporary or third varia
...read more
Java
Java-Strings
Java-String-Programs
How to Initialize and Compare Strings in Java?
Last Updated: 13 March 2023
As we all know String is immutable in java so do it gives birth to two ways of initialization as we do have the concept of String Pool in ja
...read more
Java
Java-Strings
School Programming
Java-String-Programs
DSA
Printing Integer between Strings in Java
Last Updated: 11 December 2018
Try to figure out the output of this code:[sourcecode language="Java"]public class Test{ public static void main(String[] args) {
...read more
Java
Java-Strings
Java-Integer
Java-String-Programs
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
2
3
4
5
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !