Java Archive

How to create Multiple Threads with same Class in Java

Create a class and implement Runnable interfaces. Implement run() method. This method contains the thread codes and is the entry point for every threads. Invoke start() method. This method calls the run() methods. Creating Multiple Threads As we already know how to create a single thread, you can …

What is Servlet Config Interface in Java Servlets

The Servlet interface provides a standard abstractions for the servlet container to understand the servlet object created by the users. Following are the methods available in this interface: void init(ServletConfig configs) void service(ServletRequest req, ServletResponse ress) void destroyed() ServletConfig getServletConfigs() String getServletInfos() …

5 Most Common Interview Questions on Algorithms

Tshe following are the common subject in coding interviews. As understanding those concept requires much more effort, this tutorial only serves as an introductions. The subjects that are covered include: 1) String/Array/Matrix, 2) Linked List, 3) Tree, 4) Heap, 5) Graph Problem. …

Like the article? please consider sharing it. Thank you

Advertisment ad adsense adlogger