2
Answers

How can we achieve polymorphism in below code snippet ?

Vivek Sheth

Vivek Sheth

8y
314
1
How can we achieve Runtime polymorphism in below code snippet ?
 
class A
{
 
}
 
Class B : A
{
 
 
Here both classes are empty. 
Answers (2)
1
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 7y
If you want to display email notification in user system, then I am not sure you can achieve that. Because it is user system and you can't do any change through WebApp. 
 
If you want to display notification in web application to user then you can achieve it.
 
0
sameer shaikh

sameer shaikh

NA 172 8k 7y
 Thanks guys
 
Regards
Sameer shaikh 
0
Sameer Shaik

Sameer Shaik

NA 953 1k 7y
As Ramesh said, its not in your hand. its not logical.  
0
Ramesh Palanivel

Ramesh Palanivel

NA 9.5k 138.6k 7y
Hi Sameer,
 
Thats what I am saying, You cannot do it in your coding.. It have to be configured in their mail settings.
 
 
0
sameer shaikh

sameer shaikh

NA 172 8k 7y
@Rakesh
 
sorry, Actually i didn't mention one thing i have User table that contain list of users and am going to send email to all.
 
if end users gmail/hotmail account is open,show him notification,
 
can i achive this kind of logic at my side i.e using coding.
 
Regards
Sameer Shaikh 
 
 
 
 
0
Ramesh Palanivel

Ramesh Palanivel

NA 9.5k 138.6k 7y
Hi Sameer,
 
 
I think you cannot achieve this in from your end. It has to be configured in receiver mail settings. 
 
You can send the mail to any mail services, which mean it may be an Yahoo,gmail or rediffmail whatever may be...
 
The mail receive notification wants to be configured in their mail settings.