AI Features

Introduction

Let’s get an overview of reflection and interfaces.

Introduction to reflection and interfaces

Let’s recall the phone book application discussed previously. We might wonder how to deal with a new requirement where we want to sort user-defined data structures, such as phone book records, based on our own criteria, such as a surname or first name. What is the best way to sort different datasets that share some common behavior without having to implement ...