public class Trig { private Trig() {} // Prevent instantiation public const double PI = 3.14159265358979323846; public static double Sin(double x) {...} public static double Cos(double x) {...} public static double Tan(double x) {...} }The Trig class groups related methods and constants, but is not intended to be instantiated. Therefore, it declares a single empty private instance constructor. end example] 2 At least one instance constructor must be declared to suppress the automatic generation of a default constructor.

| |

Jagger Software Ltd | |

Company # 4070126 | |

VAT # 762 5213 42 |