What is anagram in java?
Answer / Ankita Srivastava
An anagram is a word or phrase formed by rearranging the letters of another word or phrase, usually using all the original letters exactly once. In Java, you can check for anagrams by comparing two strings after sorting their characters. However, it's more efficient to compare character frequencies instead.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about version control?
State the significance of public, private, protected class?
How will you initialize an Applet?
What is the difference between java applets and applications?
Difference between JDK, JRE, JVM
16 Answers Deloitte, HCL, Mind Tree, Oracle, Reliance, TCS, ThinkBox,
Can u write constructor in abstract.If yes den when it will be invoked.
Is main a keyword in java?
What do you mean by of string::valueof expression in java 8?
Can we add default constructor to Servlet?
Sample code to retrieve objects from HashMap in sorted ascending order?
What is a serializable interface?
Is java code slower than native code?