Java Programming and Technical Programming Technical

Q. Explain different way of using thread?

A. A Java thread could be implemented by using Runnable interface or by extending the Thread class. The Runnable is more advantageous, when you are going for multiple inheritance.

Read Solution (Total 3)

Java Other Question

Q. What is a native method?

A. A native method is a method that is implemented in a language other than Java.
Q. What are the two major components of JDBC?

A. One implementation interface for database manufacturers, the other implementation interface for application and applet writers.