The KSA642G is manufactured in a plastic TO-92 case. When looking at the flat side with the leads pointed downward, the three leads emerging from the transistor are, from left to right, the emitter, base, and collector leads. The KSA642CG transistor (with suffix "C") is the center collector version of the KSA642G. Here is an image showing the pin diagram of this transistor.
Classification of hFE
The KSA642G transistor can have a current gain of 200 to 400. The gain of the KSA642 will be in the range from 70 to 400, for the KSA642O it will be in the range from 70 to 140, for the KSA642Y it will be in the range from 120 to 240.
Complementary NPN transistor
The complementary NPN transistor to the KSA642G is the KSD227G.