Home / MCQ Bank / Computer
Computer Strings Difficulty: Medium

What is the purpose of the trim() method of a String object in Java?

Select the correct option to test your answer:

More Computer Questions

Which is not an 'e-service' from the following options? In MS Word short cut key for Split a window or remove the split view? What is the purpose of the public_send method in Ruby? Which event is raised when the user changes the text in a TextBox control in a Windows Forms Application? What will be the output of the following C++ code? #include <iostream> #include<type_traits> using namespace std; class Base { public: void function1() {}; void function2() {}; }; int main() { Base b; cout<<sizeof(b); return 0; }