Potassium is present on the Earthâs crust in the form of minerals. Main ores having ample amounts of potassium are orthoclase, granite, sylvite, carnallite. Potassium is represented as the symbol K. Its atomic number is 19, and it has an electronic configuration of 4s1.
Constructors (C++) A constructor is a kind of member function that initializes an instance of its class. A constructor has the same name as the class and no return value. A constructor can have any number of parameters and a class may have any number of overloaded constructors.
For each primitive types (and void) there is a wrapper type which defines a constant called TYPE which have the class of the primitive type. A compiler way to get a class for a primitive type is to use the .class notation. e.g.