Get each elements of JSONArray : <p>i have a jsonArray like this. how can i get each array element form java</p>

<pre><code>[{"subjectname":"Health","classKey":5084485095784448,"staffKeyId":4819823842295808,"subjectKeyId":5756749483081728,"class":"8C"},{"subjectname":"Civics","classKey":5641826627223552,"staffKeyId":4549155540172800,"subjectKeyId":5563198258282496,"class":"8B"}]
</code></pre>
