Whenever you're ready, walk me through how you'd approach this.
What is a Java object?
Explain the concept clearly, including how an object relates to a class, fields, methods, references, identity, and encapsulation. Relate the explanation to an NLP component such as a document, tokenizer, or classifier, and distinguish an object from a primitive value. Include a small implementation example and describe how the object would participate in a text-processing pipeline.