<prompt> Unda programu ya Java ambayo hutoa maswali ya hesabu nasibu yenye maswali 10 kila moja. Maswali yanapaswa kuhusisha shughuli za kimsingi za hesabu kujumlisha, kutoa, kuzidisha, na kugawanya. Baada ya mtumiaji kukamilisha swali, onyesha alama zao na uzihifadhi kwenye hifadhidata ya karibu ya SQLite.PLINFORMAT  <response>: kuagiza java.sql.Connection;agiza java.sql.DriverManager;agiza java.sql.PreparedStatement;agiza java.sql.SQLException;agiza java.util.Nasibu;agiza java.util.Skena;MathQuiz ya darasa la umma Private tuli final String DB_URL jdbc:sqlite:math_quiz.db; utupu tuli wa umma String args jaribu Anzisha hifadhidata initDatabase; Anza chemsha bongo int score startQuiz; Hifadhi alama kwenye hifadhidata saveScorealama; System.out.printlnAlama yako ni: alama; catch SQLException e System.err.printlnHitilafu katika kuanzisha hifadhidata:; e.printStackTrace; private static void initDatabase hutupa SQLException jaribu Connection conn DriverManager.getConnectionDB_URL ikiwa conn ! null String sql CREATE TABLE KAMA HAIPO Alama id INTEGER PRIMARY KEY AUTOINCREMENT, alama INTEGER; PreparedStatement stmt conn.prepareStatementsql; stmt.execute ; private tuli int startQuiz Kichanganuzi cha kichanganuzi Kichanganuzi kipya System.in; Nasibu nasibu Nasibu mpya; int correctMajibu 0; kwa int i 0; i 10; i int num1 random.nextInt100; int num2 random.nextInt100; int operation random.nextInt4; jibu la int 0; Uendeshaji wa kambaSymbol ; kubadili operesheni kesi 0: jibu nambari1 nambari2; operationSymbol ; mapumziko; kesi 1: jibu nambari1 - nambari2; operationSymbol -; mapumziko; kesi 2: jibu nambari1 nambari2; operationSymbol ; mapumziko; kesi 3: ikiwa namba2 0 i--; endelea; jibu nambari1 nambari2; operationSymbol ; mapumziko; System.out.printfSwali d: d s d , i 1, num1, operationSymbol, num2; int userAnswer scanner.nextInt; ikiwa mtumiajiJibu jibu sahihiMajibu; rudisha Majibu sahihi; Private static void saveScoreint score inarusha SQLException jaribu Connection conn DriverManager.getConnectionDB_URL String sql INGIZA Alamaalama THAMANI?; PreparedStatement stmt conn.prepareStatementsql; stmt.setInt1, alama; stmt.executeUpdate; 