package jdbc; import java.sql.*; public class try1 { private String username; private String userage; private String userquali; public void setUsername() throws ClassNotFoundException, SQLException { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn=DriverManager.getConnection("jdbc:oracle:thin:@Agnit-PC:1521:devdb","system","bababobby"); Statement st=conn.createStatement(); ResultSet rs=st.executeQuery("select name from a where name=username"); String a=""; rs.next(); username=rs.getString(1); } public String getUsername() { return username; } public void getUserage() throws ClassNotFoundException, SQLException { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn=DriverManager.getConnection("jdbc:oracle:thin:@Agnit-PC:1521:devdb","system","bababobby"); Statement st=conn.createStatement(); ResultSet ...