sayedwaseem414 sayedwaseem414 - 1 year ago 97
Android Question

Java extends from class with <class name>

Can you explain what is the meaning of in the below code snippet

public class NoteAdapter extends ArrayAdapter<Note>{


In my example Note is java class.

Answer Source

It means Note adapter inherits from ArrayAdapter which is a generic class.The generic class ArrayAdapter accepts an argument of type Note.To understand more visit the topic Generics in java

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download