srikas

Greenhorn
+ Follow
since Jan 05, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by srikas

Please give answers to the following :
If you are developing a word-processor and wish to implement undo functionality, which design pattern would be most helpful?
a. Adapter
b. Singleton
c. Command
d. Iterator
e. None of the above
In Java, which one of the following is not a valid reference type?
a. weak
b. phantom
c. indirect
d. soft
e. None of the above
I thought the answers are C, D. Pls respond.
Thanks
I am also getting some errors while using personal oracle 8i. i have a database called srikas and using net-config i added a listener listening on port 1521 to srikas database. the database url i am using is
"jdbc racle:thin:@localhost:1521:srikas"
The error i am getting is
java.sql.SQLException: The Network Adapter could not establish the connection
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:407)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:152)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:214)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:193)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at dec10.main(dec10.java:54)
i tried adding another listener at port 9595, but i get the same error. can anyone help pls.
Thanks
23 years ago