Java Programming and Technical Programming Technical

Q. What is a native method?

A. A native method is a method that is implemented in a language other than Java.

Read Solution (Total 3)

Java Other Question

Q. Briefly explain daemon thread.

A. Daemon thread is a low priority thread which runs in the background performs garbage collection operation for the java runtime system
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.