These are the easiest 15 programs list for better understanding on Java String – ==, equals() method. Please practice each one. Observe the output. Get your learnings! Scenario #1: String s1 = new String(“ABC”); String s2 = “ABC”; if(s1==s2) { System.out.println(“s1 s2 are ==”); } else { System.out.println(“s1 s2 are not ==”); } //With equals() […]
Read MoreIn this tutorial, we are going to see How to install Eclipse IDE in Linux Mint. Fortunately, both Eclipse IDE and Linux Mint are Free Software. Eclipse is widely used IDE (Integrated Development Environment) for Java Applications. It can be used for developing applications using other programming languages like C++, PHP, R, Ruby and Scala. […]
Read MoreThis blog explains about Esfita Infotech Interview Questions and Answer is given below : Esfita Infotech Pvt.Ltd: Find the string count of upper case ,Lower case, special characters: Given a string, write a program to count the occurrence of Lowercase characters, Uppercase characters, Special characters and Numeric values. Examples: Input : #GeeKs01fOr@gEEks07 Output : Upper […]
Read MoreThis blog explains about Netxd Software India Interview Questions and is given below NETXD SOFTWARE INDIA PVT. LTD 1.Find a given Integer Palindrome or Not? import java.util.*; public class Palindrome { public static void main(String args[]){ int num,tNum,sum; Scanner bf=new Scanner(System.in); //input an integer number System.out.print(“Enter any integer number: “); num= bf.nextInt(); //find reverse number […]
Read MoreIn this tutorial, we are going to see “How to print without new line (Same Line) in Python“. Usually, if you give print statement in python, it will be printed in lines sequentially. For sample, please find the example below for i in range(1,31,1): print(i) will give you the results from 1 to 30, single […]
Read MoreThis blog explains about Optisol Business Solutions Interview Questions and is given below : Optisol Business Solutions : 1. What is the output of the following program ? #include<stdio.h> int main() { int a=10; switch(a) { case ‘1’; printf(“ONE\n”); break; case ‘2’; printf(“TWO\n”); break; default; printf(“NONE\n”); } return 0; } 2. What is the Output of […]
Read MoreFourth Dimension Technologies Interview Question This blog explains about FOURTH DIMENSION TECHNOLOGIES Interview Questions and is given below :- FOURTH DIMENSION TECHNOLOGIES Why String is Immutable? Give Some Example. In java, string objects are immutable. Immutable simply means unmodifiable or unchangeable.Once string object is created its data or state can’t be changed but a new string […]
Read MoreXerago Fresher Interview Questions – Part 1 This blog explains about Xerago Fresher Interview Questions – Part 1 and is given below : 1. The least perfect square , which is divisible by each of 21, 36 and 66 is A. 214434 B. 214344 C […]
Read MoreSANDS Technologies Fresher Interview Questions with Answers This blog explains about SANDS Technologies Fresher Interview Questions with Answers and is given below : 1.Remove Duplicates in this string “coconut” // CPP program to remove duplicate character // from character array and print in sorted // order #include <bits/stdc++.h> using namespace std; char *removeDuplicate(char str[], int […]
Read MoreMVI Technologies Fresher Interview Questions This blog explains about MVI Technologies Fresher Interview Questions and is given below : 1.In a given strg first letter should be in caps and last letter should be in small and find how many vowels present in the string. // Java program to Convert characters // of a string […]
Read More