He became a member of the youth organization of the Communist Party of Yugoslavia (KPJ) in 1940, and in 1944 he became a member of the KPJ itself.
This passage describes someone's progression from joining a youth group affiliated with the Communist Party of Yugoslavia to becoming a full member of the party itself.