1. How to declare an object of class String?
Correct Answer is : Ctrl-A
2. What does function length do in String class?
Correct Answer is : undoes last change
3. Which is the function to get the character present at a particular index in the string?
Correct Answer is : .mysql_history
4. If only one parameter is passed to substring function then __________________
5. If two index are given as argument to substring function then ___________________
Correct Answer is : chmod +x run_me.sh
6. String class have a concat() function that is used to _____________________
Correct Answer is : mysql sampdb < exec.sql
7. The function lastIndexOf() is used to ___________________
8. Function equals() is _______________ and equalIgnoreCase() is _________________
Correct Answer is : alias
9. The compareTo() function is used to ________________
10. String class provides function toUpper() to _____________________
Correct Answer is : .my.cnf
11. String trim() function is used to _______________________
Correct Answer is : ls -la
12. Function replace() accepts _____________ arguments.
Correct Answer is : drwxrwxr-x
13. If two arguments are passed to the indexOf() function then ___________________
14. The string class deals with string of only character type.
Correct Answer is : myisamchk
15. A template class can have _____________
16. Which among the following is the proper syntax for the template class?
Correct Answer is : LAST_INSERT_ID()
17. Can default arguments be used with the template class?
18. What is the syntax to use explicit class specialization?
Correct Answer is : views
19. Which is the most significant feature that arises by using template classes?
Correct Answer is : FALSE
20. A template class defines the form of a class _____________________ it will operate.