Showing posts from 2022

BRAIN TEASER QUESTIONS FOR INTERVIEW

ARE YOU AWARE ABOUT THE BRAIN TEASERS ASKED IN BIG TECH COMPANIES IN SILICON VALLEY. SO WE ARE GOING TO LOOK OVER THE BEST BRAIN TEASERS CHOSEN FORM THE BIGGEST TECH COMPANIES..AND ALSO YOUR DREAM COMPANY SO LET'S GET STARTED Facebook   A Russ…

JAVA EXPERT

JAVA GAMING TUTORIAL WITH LIBGDX!!

HI to all the programmers, We the Java Remastered Team are here to give you a piece of great news we have decided to start a GREAT NEW PROJECT for all the students who love to play games and make games because we will be starting to teach all of y…

IJ:PL

OPENING NEWS FOR A NEW WEBSITE FOR PYTHON

GREAT NEWS!!! FOR ALL THE PYTHON LOVERS WE HAVE DECIDED TO RUN A NEW WEBSITE FOR ALL THE PYTHON LOVERS WHO WANTS TO LEARN PYTHON AND BECOME A PRO IN THAT. AFTER 7500+ REQUESTS WE HAVE STARTED TO BUILD YOUR DREAM WEBSITE FOR PYTHON. WE WILL BE PROVI…

JAVA EXPERT

ALL ABOUT CLASS VARIABLES IN JAVA

Important points to be noted 1.  A class variable is a variable that is declared inside of class, but outside of any instance method or __init__ () method.  2.  It means it's a variable that is declared in the class        itself. 3.    Class …

JAVA EXPERT

Write a program to accept a string. Convert the string to uppercase. Count and output the number of double letter sequences that exist in the string. Sample Input: “SHE WAS FEEDING THE LITTLE RABBIT WITH AN APPLE” Sample Output: 4 [15]

Write a program to accept a string. Convert the string to uppercase. Count and output the number of double letter sequences that exist in the string. Sample Input: “SHE WAS FEEDING THE LITTLE RABBIT WITH AN APPLE” Sample Output: 4  ICSE 2012 SELECT…

JAVA EXPERT

Consider the following statement: "26 January is celebrated as the Republic Day of India" Write a program (using scanner class) to change 26 to 15; January to August; Republic to Independence and finally print as: "15 August is celebrated as the Independence Day of India"

Consider the following statement: "26 January is celebrated as the Republic Day of India" Write a program (using scanner class) to change 26 to 15; January to August; Republic to Independence and finally print as: "15 August is cele…

JAVA EXPERT

SEPARATE VOWEL AND CONSONANT FROM A STRING

FOR EXAMPLE Input: Frequency Output: Vowel word=EUE        Consonant word=FRQNCY SOLUTION (RECOMMENDED TO TRY IT OWN YOUR OWN AND THEN SEE THE SOLUTION IF YOU CANNOT) import java.util.*; class separate {     void main()     {         Scanner ob=new…

IJ:PL

Write a program to input 10 numbers into an integer array and interchange the largest number with the smallest number within the array and print the modified array. Assume that there is only one largest and smallest number.

import java.util.*; class Sol9 {  static void main()  {  Scanner sc=new Scanner(System.in);  int a[]=new int[10],i,l=0,s=0;  System.out.println(“Enter 10 numbers:”);  for(i=0;i<10;i++)  a[i]=sc.nextInt();  l=s=a[0];  for(i=1;i<10;i++)  {  if…

JAVA EXPERT

LINEAR SEARCH FOR JAVA ICSE

Linear search is straightforward and simple. Let’s say this is our array and we want to check if 7 is present in the array or not In Linear Search, we start at the beginning of the array and check to see if the first element is the element, we are…

JAVA EXPERT

UNIQUE STRING LOGIC

import java.util.*; public class Unique_String {     void main()     {         Scanner ob=new Scanner(System.in);         String n;         char ch,ch1;         int len,i,c,f=0;         System.out.System.out.println("Enter a string");     …

JAVA EXPERT

WAP to enter 10 elements in an array. Considering the prime index positions, find the average of all the Odious numbers. Logic: If binary equivalent of a number is having odd number of 1's present in it, then the number is considered as Odious number. Example: 11,16,19 etc. Demonstration: Binary equivalent of 11 is 1011, no of 1's present in it is 3, which is odd

import java.util.*; class array_1_pg {     void main()     {         Scanner ob=new Scanner(System.in);         int a[]=new int[10],i,m,c,d,s=0,f=0;         System.out.println("Enter the elements in the array:");         for(i=0;i<10;i…

JAVA EXPERT
Load More
That is All

It looks like you're using an ad blocker. We rely on ads to keep our site free, please whitelist us!

Click here to continue

Please whitelist our site to continue enjoying our content.

Whitelist | Close