java programmes frequently asked in interview

1.print duplicate characters of the string?
2.check two string are anagram are not?
3. programme to count number of words in a string?
4.number of occurences of a given character in a string without loop?
5.reverse a string in 3 ways?
6.remove all white spaces from string?
7.find non repeated character from string?
8.reverse stringg using iteration and recursion?
9.string contains only digits are not?
10. reverse a string with preserving spaces psition ? (output:     illa purap udianivaR)
11.reverse a each word of string ?
12.count no of vowels and consonants in a string?
13.. String to integer and integer to string?
14.All permutation of string ?
15.String is palindrome?
16.remove duplicate characters from string?
17.append astring to text file?
18.if string another string are not?
19.remove given characters from sring?
20.sort string in java?
21.nost repeatedwords in atext file?
22.first repeated character and non repeated character in a string?
23.find no of characters and no words and number of lines in a text file?
*********************************************************************************
24. print fibanacci series?
25.check number is prime or not?
26.swap two numbers in a java?
27.reverse a string with ou api?
28.reverse array?
29.reverse a number in java?
30.factorail of anumber?
31.sum of digits of a number?
32.sort map by value?
33.find perfect no or not?
34.buble sort?
35.given no is binary or not?
36.find armstrog number?
37.common elements between two arrays?
38.two string are anagram or not?
39.create deadlock between two threads?
40.find factorial of number from 1to 100;
41.second largest in a array?
42.print numbers with out using loops?
43.find missing number in a array?
44.duplicate numbers in array?
45.find factorial of alarge number?
46.duplicates from astring in java?
47.remove duplicates froma string in java?
48.given number is even or not?
49.count number of vowels in astring?
50.print floyds traingle?
51.binary search of number?
*********************************************************************************
52.fibanancci serires
53. characer count in a string
54.Ascii value of a character
55. remove duplicates
56.to print duplicates
57. double sort
58.floyds traingle
59.find duplicates
60 1 to 10 with out loops
61 find missing number
62 pyramid
63 largest and smallest
64 count no of vowels
65 string is palindrome
66 input is prime
67 second largest
68 ascending and descending
69 reverse a string
70 two string are anagram or not?
71.factorial of a number
72.print multiplication
73.addelements in a array
74.largest three numbers
75.sort chracter
76.fibanaccci?
77.swap two numbers
78.factorial for largest number?
79.two strings are angram or not?
80.hashkeys in java?
81.number iseven or odd?
82. reverse anumber?
83.swap two nmbers
84.printt alphabets in string
85.swap elements in java
86. reverse order of elemnets in aarraylist?
87.input character is alphabet or not?
88. wap two numbers?
89.array contains duplicates or not?
90.area of rectangle?
91.number is even or odd?
92.aream of circle
93.sum of 10 numbers in a java
94.year is a leap year or not?
95. find first non repeated charcter?
96.add multiply and divide
97.print only special characters in a string
98.print reverse order of a string with presrving order of special character  (input:    R@v!n@!du)
output: u@d!n@!vr
99.handling values in hashmap by using comparator?
100.printing entry in hashmap?


Comments

Popular posts from this blog

Selenium Locators usage

Java Theory interview questions