mozno Programovanie rozlicnym sposobom
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Zobrazi» príspevky MenuQuote from: buhehe on 24.04.2008, 04:52:53
ee swing....intermediate ide normalne, dialog sa zvacsi....ale ked zvolim expert dialog ostane ako na begginerovi ale je tam po chuj tych malych dlazdiciek...neviem...este som do toho nerypal...
Quote from: doc.returner on 23.04.2008, 07:20:53
Tak neviem ci kukam na zly vyplneny test ale napr tuto otazku som vobec nemalQuote
12. A router has the following entries in its routing table:
S 192.168.0.0/24 [1/0] via 192.168.128.2
O 192.168.0.0/25 [110/2175] via 172.16.1.1, 00:02:15, FastEthernet0/1
D 192.168.0.0/25 [90/22455] via 172.16.2.2, 00:12:15, Serial0/0/0
R 192.168.0.0/26 [120/2] via 172.16.3.3, 00:00:15, Serial0/0/1
The router receives a packet that is destined for a host with the address 192.168.0.58. Which route would this router use to forward the packet?
* the static route
the OSPF route
the EIGRP route
the RIP route
Ostatne som mal rovnake... Snad niekto zisti kde sa skryva ta druha zla odpoved
Quote from: kOsTi on 22.04.2008, 02:41:17
picu si rob z plasteliny
private void insertToDB(PlayerTime playerTime){
try{
Class.forName(DatabaseSetting.DRIVER_CLASS);
connection = DriverManager.getConnection(DatabaseSetting.URL,
DatabaseSetting.USER, DatabaseSetting.PASSWORD);
// }catch(Exception e){System.out.println("Exception occured during saving high score to database: " + e.getMessage());}
stm = connection.createStatement();
try {
stm.executeUpdate(DatabaseSetting.QUERY_CREATE_BEST_TIMES);
}catch (Exception e) {
System.out.println("Exception occured during saving high score to database: " + e.getMessage());
}
stm.close();
pstm = connection.prepareStatement(DatabaseSetting.QUERY_ADD_BEST_TIME);
pstm.setString(1, playerTime.getName());
pstm.setInt(2, playerTime.getTime());
pstm.execute();
pstm.close();
connection.close();
}catch (Exception e) {
System.out.println("Exception occured during saving high score to database: " + e.getMessage());
}
}
private void selectFromDB(){
try{
Class.forName(DatabaseSetting.DRIVER_CLASS);
connection = DriverManager.getConnection(DatabaseSetting.URL,
DatabaseSetting.USER, DatabaseSetting.PASSWORD);
stm = connection.createStatement();
ResultSet rs = stm.executeQuery(DatabaseSetting.QUERY_SELECT_BEST_TIMES);
while(rs.next()) {
PlayerTime pt = new PlayerTime(rs.getString(1), rs.getInt(2));
playerTimes.add(pt);
}
stm.close();
connection.close();
}
catch(Exception e){
System.out.println("Exception occured during loading high score to database: " + e.getMessage());
}
Collections.sort(playerTimes);
}