Punsihment whehter 7 or 10 (How TO Calculate).

Querist :
Anonymous
(Querist) 02 April 2011
This query is : Resolved
494. Marrying again during lifetime of husband or wife.--
Section 495. Same offence with concealment of former marriage from person with whom subsequent marriage is contracted
Query : a person has been booked unde both the case as above said but section 494 says the punishment is for 7 years & section 495 says the punishment is for 10 years so for how many years the offender is liable to be punish ? can any body explain me ?
Thanks.
But
This just a example but different for the above mentioed it is just a example to make me more clear when the fine is also related with the punishment period
Eg : If any section says that if the offence is punishable for 2 yeas with 10000 rs. fine & he is also booked under another section which says the offender s liable for the punsihment for 20000 rs & 10 years imprinsoment than which will prevail or how to calculte the time period of the punishment along with the fine ?
Thanks