1) Find the Merge point of two linked lists.
2) Swap two bits of integer.
3) Reverse individual words of the sentence.
4) Reverse string without using temp string.
Answer Posted / santosh kumar
refer to net
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
Explain garbage collection in java?
What is the size of boolean variable?
public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI = 0; int countJ = 0; int countK = 0; int countL = 0; int countM = 0; int countN = 0; int countO = 0; int countP = 0; int countQ = 0; int countR = 0; int countS = 0; int countT = 0; int countU = 0; int countV = 0; int countW = 0; int countX = 0; int countY = 0; int countZ = 0; } } Can anybody tell me any alternate solution(like loop or something) to automate this initialization process. Ex:- for(char chr='A';chr<='Z'; chr++) { (int) String "count"+chr = 0; }
What do you mean by Hash Map and Hash Table?
What is a functional interface?
What is the unit of plancks constant?
how to create daemon thread in java?
Is 9 a prime number?
Explain treeset?
What are extraneous variables examples?
When is the finalize() called?
Explain 5 features introduced in jdk 1.7?
what do you understand by synchronization? : Java thread
What does regex mean?
Why is inheritance used in java?