Suppose that $R$ be ring and $J$ is ideal of $R$ and $I$ is ideal of $J$. if $I$ have identity element show that $I$ is ideal of $R$.
I don't have any idea to solve it. please help me with a hint.
This all depends a bit on whether or not your rings have a multiplicative identity. If you say that $I$ is an ideal in $J$, that makes it sounds like $J$ is a ring. If a ring has a $1$, then $J= R$, so I am guessing that your rings do not have a mutiplicative identity.
If your definition of a ring does not require the existence of a $1$ (multiplicative identity), then an ideal is actually a subring.
With these problems you have to be attentive to your definitions. Now a ring $R$ is an Abelian group $(R, +)$ with one more operation (that we usually denote by multiplication). Because of this we say that $0 \in R$ to point out that $R$ has an additive identity element.
Now an ideal of a ring $R$ is a subgroup $I$ and because of this you will always have $0\in I$ for any ideal $I$.