UML class diagram, How can I draw a class with virtual method?

Hi every , I has a class, i want to convert to UML via visual paradigm , how can it work ?
public class Object
public Object();
public virtual string ToString();
public virtual bool Equals(object obj);
public static bool Equals(object objA, object objB);

could you show me image in vp ?

First of all, you need to ensure Programming Language is correct.


Then within Operation Specification, you can specific virtual in Operation Code Details tab

Finally, you need to Show Code Details in Operation Display Options.

Thank you for using Visual Paradigm.