India has $15,106$ kilometers of land borders and a coastline of about $7,516$ kilometers. Only $5$ out of $29$ Indian states have no international border or coastal line. Those long borders are shared with seven countries — China, Pakistan, Bhutan, Myanmar, Afghanistan, Nepal and Bangladesh.
India also shares water borders with Sri Lanka, Maldives and Indonesia.
So, the correct answer is $(B).$