Consider the following statements.
Statement 1: If the allegations of the prosecution is serious, courts can deny hearing the case for grant of bail in accordance with the law.
Statement 2: Denying bails is considered as a violation of the rights guaranteed under Article 21 of our Constitution.
Select the correct code.