How to sleep a thread in Java
How to sleep a thread in Java using Thread.sleep() method. Comparison between sleep millis an nanos.
How to connect to MySQL with JDBC driver
How to connect to MySQL database with MySQL JDBC driver. Get a new connection using DriverManager class.
How to convert Inputstream to String in Java
How to convert a InputStream object to String object in Java using BufferedReader and InputStreamReader classes.
How to create Singleton Design Pattern in Java
A design pattern is a general solution to a common problem. The singleton pattern is used to restricts the instantiation of a class to one single object.
Search
Other Posts
Follow Us On