How to get the current working directory in Java using user.dir system parameter.
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 using Date (compareTo, before, after, equals), Calendar(before, after, equals) and LocalDate(isBefore, isAfter, equals) classes.
How to get input from Java Console. Examples using System.console
, Scanner
and BufferedReader
+ InputStreamReader
.
Client Server Socket example in Java. Client example reading the input from the console. Simple echo server example.
How to work with java Properties files. Properties files are key values file. The tutorial contains both read and write examples.
Search
Other Posts
Follow Us On