-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAssignment2.java
More file actions
44 lines (34 loc) · 1.21 KB
/
Assignment2.java
File metadata and controls
44 lines (34 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import java.sql.*;
import java.util.List;
// If you are looking for Java data structures, these are highly useful.
// Remember that an important part of your mark is for doing as much in SQL (not Java) as you can.
// Solutions that use only or mostly Java will not receive a high mark.
public class Assignment2 extends JDBCSubmission {
public Assignment2() throws ClassNotFoundException {
Class.forName("org.postgresql.Driver");
}
@Override
public boolean connectDB(String url, String username, String password) {
// Implement this method!
return false;
}
@Override
public boolean disconnectDB() {
// Implement this method!
return false;
}
@Override
public ElectionCabinetResult electionSequence(String countryName) {
// Implement this method!
return null;
}
@Override
public List<String> findSimilarPoliticians(int politicianId, float threshold) {
// Implement this method!
return null;
}
public static void main(String[] args) {
// You can put testing code in here. It will not affect our autotester.
System.out.println("Hello");
}
}