The document contains a series of programming tasks in Java, including printing squares of numbers from 1 to 5, determining if a number is even or odd, and sorting an array of strings alphabetically. It also outlines the creation of a 'Teacher' table with specified fields and sample data, along with queries to display the table contents, update a teacher's salary, and delete a column from the table. These tasks cover basic programming and database manipulation concepts.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
14 views1 page
Java and Mysql
The document contains a series of programming tasks in Java, including printing squares of numbers from 1 to 5, determining if a number is even or odd, and sorting an array of strings alphabetically. It also outlines the creation of a 'Teacher' table with specified fields and sample data, along with queries to display the table contents, update a teacher's salary, and delete a column from the table. These tasks cover basic programming and database manipulation concepts.