user3462568
user3462568

Reputation:

How do I draw a class which extends from a class in the external package such as abstract class BroadcastReceiver in Class diagram?

May I know the way to represent my class object in UML Class Diagram which extends the class from external package such as abstract class BroadcastReceiver?

For instance I have the following class :-

 public class MyBroadcastReceiver : BroadcastReceiver
{        
    private bool isConnected;

    public MyBroadcastReceiver (Context context)
    {            
    }

    public override void OnReceive(Context context, Intent intent)
    {                                 
    }
}

Upvotes: 2

Views: 1928

Answers (1)

qwerty_so
qwerty_so

Reputation: 36333

This is a simple Generalization:

enter image description here

Upvotes: 3

Related Questions