Hamas test-fired rockets from the Gaza Strip into the Mediterranean Sea for the second time in nine days in a show of military strength months after its devastating war with Israel.

Monday's launch of at least two rockets was observed by residents of Hamas-ruled Gaza and confirmed by the Israeli military. Hamas officials wouldn't comment.

"The Hamas movement wants to send a message that its military capabilities are still strong" in case another war breaks out, said Adnan Abu Aamer, a political science professor at Al-Umma University in Hamas-ruled Gaza.