Java Program 09: Printing Words In Circular Order From Given Index

Hello Folks, This is frequently asked interview question. Problem: Suppose you have below string: “Make Selenium Easy” Where -“Make” is at position zero. -“Selenium” is at first position . -“Easy” is at second position . If I say: -zero, You need to print “Make Selenium Easy”. -one, you need to print “Selenium Easy Make”. -two, you

Read More

JAVA Program 5: Swap two integer variables without using third variable

Problem: Write a java program to swap values of two integer variables without using third variable. Solution: Java Program:

Output: Enter the 1st number: 21 Enter the 2nd number: 33 Before Swap: Value of x: 21 Value of y: 33 After Swap: Value of x: 33 Value of y: 21 #HappyCoding

Frequently Asked Java Program 04: Java Program to Extract Numbers From String and Add

Hello Folks, As part of Frequently Asked Java Programs In Interviews For Freshers And Experienced, in this post we will see a java program to extract numbers from a string. Write a JAVA program for below requirements: Take an alphanumeric string from user. Verify if it is alphanumeric. If it is alphanumeric, extract all numbers present

Read More

Frequently Asked Java Program 03: Java Program to check if any string is palindrome Using inbuilt Reverse method of Java

Hello Folks, As part of Frequently Asked Java Programs In Interviews For Freshers And Experienced,  in this post we will see a Java program to verify if a given string is palindrome using inbuilt reverse method. WHAT IS PALINDROME STRING? A palindromic string is a string that remains the same when its characters are reversed. For

Read More

Frequently Asked Java Program 02: Java Program to Check if Any String is Palindrome Without Using Reverse Method

Hello Folks, As part of Frequently Asked Java Programs In Interviews For Freshers And Experienced,  in this post we will see a Java program to verify if a given string is palindrome without using inbuilt reverse method. WHAT IS A PALINDROME STRING? A palindromic string is a string that remains the same when its characters

Read More

Frequently Asked Java Program 01: Java Program to Check If a Given Number is Palindrome

Hello Folks, As part of Frequently Asked Java Programs In Interviews For Freshers And Experienced, in this post we will see a java program to check if a given number is palindrome. Palindrome program is a frequently asked programming interview question to both freshers or experienced in interviews. We will going to learn that in

Read More

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.