Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The MyString class must have the following public methods: a method named charAt. This method will have one parameter of type int. This method will
The MyString class must have the following public methods:
a method named charAt. This method will have one parameter of type int. This method will return a char.
a method named concat. This method will have one parameter of type MyString. This method will return nothing.
a method named equals. This method will have one parameter of type MyString. This method will return a boolean.
a method named indexOf. This method will have one parameter of type MyString. This method will return an int.
a method named length. This method will have no parameters. This method will return an int.
a method named makeCapacity. This method will have one parameter of type int. This method will return nothing.
a method named store. This method will have one parameter of type MyString. this method will return nothing.
a method named store. This method will have one parameter of type String. this method will return nothing.
a method named substring. This method will have two parameters of type int. This method will return a MyString.
a method named toString. This method will have no parameters.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started