Bequest for a property to be given to someone after one's death
Q: "A" nominated the name of "BC" in immovable property during his life time at the society records, stating that after his death "BC" will be the owner of the immovable property, in the presence of his other legal heirs/family members and the other legal heirs knows the same, thereafter "A" died, whether the nominees "BC" will be the sole co-owners of the said immovable property or other legal heirs of the deceased will have right over the said property, as per Islam, Please answer.