How to insert element in an array at specific position in java | Learn with Krishna Sandeep

preview_player
Показать описание

(For all updates on Java interview questions and java tutorials join the telegram group)
Search in Telegram with text Java Tutorials if you are unable to join telegram with above link

1) How to read a matrix from console in java?

2) How to remove duplicates from string in java?

3) Write a java program to duplicate characters with number of occurences in java?

4) Write a java program to implement bubble sort part 1?

5) Write a java program to check string is palindrome or not?

6) Write a java program to print floyds triangle?

7) Write a java program to print floyds triangle?





8) How to count number of vowels in a string in java?

9) How to find largest and smallest values in an array in java?

10) Write java program to find duplicate elements in array in java?

11) write a java program to check the input number is prime or not in java?

12) Write a java program to print pyramid pattern of numbers?

13) Write a java program to find missing number in array in java?

14)Write a java program to print numbers in java up to 10 with out using loops?

15) How to sort elements in array in asc and desc order in java?



16) Write a java program to find factorial of a number in java?

17) write a java program to find second largest element in the array in the java?

18) Write a java program to check two Strings are anagrams or not by sorting and comparing strings?

19) Write java program to print Characters count in each word in String ?

20) Write a java program to find reverse of a string in java?

21) Write a java program to add elements in an array in java?

22) Write a java program to find largest of three numbers?



23) Write a java program to print multiplication table?

24) Write a java program to print star pattern?

25) Write a java program to find factors of number from 1 to 100

26) Write a java program to print fibonacci series using loops?

27) Write a java program to print Ascii values of a Character ?

28) write a java program to implement bubble sort - Part 2?

29) Write a java program to print fibonacci series ?

30) Write a java program to sort characters in String in java?

31) How to sort hashmap keys in java?

32) Write a java program to check two strings are anagrams or not?

33) Write a java program to find factorial for large number?

34) Write a java program to find even and odd number?

35) How to Swap two numbers without using third variable in java?(Addition and subtraction operation)

36) Write a java program to convert Fahrenheit to celsius?

37) Write a java program to find reverse of a number in java?

38) Write a java program to print alphabets?

39) Write a java program to check given input character is alphabet or not ?

40) How to reverse the order of elements in arraylist in java?

41) How to swap elements in list in java?

42) Write a java program to find sum of 10 numbers in java?

43) How to swap two numbers in java?

44) How to swap two numbers in java with out using temp variable?

45) Write a java program to check whether array contains duplicates?

46) How to calculate area of Rectangle in java?

47) Write a java program to find factorial of a number recursion?

Рекомендации по теме
Комментарии
Автор

Nice bro i always see your tutorial before going to interview

rajeshc
Автор

Can we solve this without taking user inputs and taking hard coded value like int [] arr = {1, 2, 3, 4, 5, 6};

asifmulani
Автор

hi can anyone describe what does line 26 does i can't figure out
arr[i] i don't get which index is this pointing to ?
and arr[i -1] what does this does?

glen
Автор

How to code without getting the user input?

anithak