How to get date and time in Java
How to get current date and time in a specific format using Date, Calendar and SimpleDateFormat class.
How to parse Google Search result in Java
How to parse Google Search result in Java using URLConnection and a regular expression to parse the response. Can be used to check the Google SERP position.
How to create a table using JDBC Statement
How to create a new table from Java using JDBC Statement in simple steps: connect, get the statement, execute and close.
How to create Builder design pattern in Java
How to create Builder Design Pattern in Java using simple example and comparison with classic instantiation.
How to create directory in Java
How to create directory in Java using File.mkdir()
and File.mkdirs()
methods. Contains multiple examples.
How to get free disk space in Java
How to get free disk space in Java using File.getFreeSpace()
, File.getTotalSpace()
and File.getUsableSpace()
.
Search
Other Posts
Follow Us On