When a baby has learned to suck only when stroked, this is an example of which type of neonatal learning

This is an example of classical conditioning in neonatal learning.

This type of neonatal learning is known as operant conditioning.