You are on page 1of 1

Find Follow ()

Example1-

S-→ACD

C→ a|b

Follow of A and D?

Example 2-

S-→ aSbS|bSaS |€|

Example3

S-→ AaAb|BbBa

A→€

B→€

Find Follow of A and B

Example4:

S-→ABC

A→DEF

B→€

C→€

D→€

E→€

F→€

Note:

Follow never contain €.

You might also like