how can i connect to database in a applet ?
BY using jdbc api we can connect the applet to database
JDBC is divided into two API layers: the JDBC API and the
JDBC Driver API. The JDBC API handles all communication
between the Java applet and the JDBC Driver Manager. The
JDBC Driver API handles all communication between the JDBC
Driver Manager and the driver for a specific DBMS.
| Is This Answer Correct ? | 2 Yes | 0 No |
How can u increase the heap size in the memory?
What are E and PI?
What error occurs if a try-catch-finally statement sequence does not have a catch clause?
How do you add an element to a set in java?
Define how objects are stored in java?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
Can we overload run() method in java?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
explain oops concepts with examples?
29 Answers AbhiBus, Beeline, DELL, HCL, Satyam, TCS, VLS, Wipro,
public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }
What is dynamic dispatch in java?
why to use transient variables when static variables can be used for Serialization