Accordingly, there is a need for a method to provide an I/O class interface that can be used both by Java Applications and Java Applets which provides a method to demonstrate Java-based code that performs database queries without being connected to a database.