Generally, all the judges of the ICJ sit together to hear and decide any matter. However, sometimes smaller chambers of three to five judges hear and decide a case. Such chambers may be for special types of cases. Sometimes, the ICJ sets up ad hoc chambers to hear and decide particular disputes.