Jump to content

What is the notation between singleton class and normal class

Featured Replies

Dear Folks,

I have to draw class diagram and am very new to this topic.

 

Example, There are 2 classes named class1, class2.

 

class1 is a singleton class and class2 as normal classes.

 

class2 accessing the api of class1 using scope. so what is the notation we have to give between class1 and class2?

 

is that composition or aggregatiorn or any other?

 

Thanks in advance

 

-Selva

Edited by selva@1

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.