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.
A class can be broken down into two things: 1  The first piece is a class-header which consists of the keyword class and the name you give to the class. Names in programming languages are also known as identifiers. 2  The second piece is the body. It consists of a pair of open/close squiggly brackets with stuff in between them.