Mostly Asked Java Interview Questions For 2 Yrs Experience

1. What is the difference between JDK, JRE, and JVM? JDK (Java Development Kit): JDK stands for Java Development Kit, is a software development environment that is used to create Java applications and components. JDK contains various tools, libraries, and utilities that are required for developing, compiling, debugging, and documenting Java programs. It includes Java … Read more

Java Program to find GCD of two Numbers using Recursion

Find GCD Of Two Numbers Using Recursion in java

GCD or Greatest Common Divisor, is a very important mathematical concept. It is used to find the largest positive integer that divides each number without leaving a remainder. Here in this post, we will learn how to write Java Program to find the GCD of two numbers using recursion in Java. For Example: We have … Read more

Python Program to Separate Characters in a Given String

python program to Separate Characters In A Given String

In this Python programming tutorial, we will be learning to write Python programs to separate the character in a given string. String manipulation is an important aspect of programming. In Python, strings are a sequence of characters and are immutable. Immutable means we cannot modify it once created. In some scenarios, we might be required … Read more

Perform left rotation by two positions in Array Using Python

Perform Left Rotation On Array Elements By Two in java

In this programming tutorial, we will learn to write a Python program to perform a left rotation of array elements by two positions. For Example: Suppose we have an array arr = [1, 2, 3, 4, 5], So after two rotation array will become arr = [3, 4, 5, 1, 2] There are multiple ways … Read more

Python Program to Delete Element at Given Index in Array

python program to Delete Element At Given Index In Array

In this tutorial you will learn to write Python Program to Delete an element at Given index in Array. There are various approach to write this program. In this tutorial we will see some approaches like using slicing, using pop() and using del in Python. For Examples: Let’s consider the following array: arr = [1, … Read more

Python Program to Delete element at End of Array

In this tutorial we will learn writing Python Program to Delete element at End of Array. Arrays are mostly used data structures in programming language. We can store multiple data/elements in it that have same data type. Suppose we have an array arr = [1, 2, 3, 4, 5]. After deletion the last element from … Read more

Python Program to Copy one String to Another String

python program to Copy One String To Another String

In this tutorial, we will learn to write a Python program to copy one String to another string. Strings are immutable objects in Python which means we cannot modify a string once created. So to perform the copy of the String, we need to create a new string and then perform a copy of the … Read more