Tables can be created in the database using executeUpdate(…) method. Following example shows how to do that.

Java Code:
String createStaudents = "create table STUDENTS " +  
			 "(STUD_ID INTEGER, STUD_NAME VARCHAR(40), " + 
			 "STREET VARCHAR(40), CITY VARCHAR(20), " +
			 "STATE CHAR(2), ZIP CHAR(5))";
stmt.executeUpdate(createStudents);