Basic Operations

Table of contents

A couple of basic operations in Java will help you solve these questions.

  • contains() method

  • String.valueOf() method

  • To use ArrayList



When we look at the class, we can see its implementation.

To understand this we also need to know indexOf() method's implementation.

There is something used as 'value'. It was defined at the beginning of the class: