How to calculate date/time difference in Java
How to calculate the date and time difference in Java using a simple method of division and remainder of division.
How to compare dates in Java
How to compare dates in Java using Date (compareTo, before, after, equals), Calendar(before, after, equals) and LocalDate(isBefore, isAfter, equals) classes.
How to get input from Java Console
How to get input from Java Console. Examples using System.console
, Scanner
and BufferedReader
+ InputStreamReader
.
How to convert Char to String in Java
How to convert Char to String in Java using String.valueOf
and Character.toString
method.
How to convert Char Array to String in Java
How to convert Char Array to String in Java. Two simple examples: using String constructor or static valueOf method
How to create Abstract Factory Pattern in Java
How to create a abstract factory design pattern in Java using the example of creating a database table/stored procedure for multiple database engines.
Search
Other Posts
Follow Us On