Define the use of static keyword. Write any four String methods used in java with example.
Marks: 5Chapter: Unit 6: Handling Strings (2Hrs)
Comprehensive questions and detailed answers for Unit 6: Handling Strings (2Hrs). Perfect for exam preparation and concept clarity.
Define the use of static keyword. Write any four String methods used in java with example.
What is difference between String and StringBuffer class? Write a java program to identify the input string is palindrome or not?
What is difference between String and String buffer and explain 3 methods of String and String Buffer class with example.