Client Server Socket example in Java

  • 13 January 2017
  • ADM

Client Server Socket example in Java. Client example reading the input from the console. Simple echo server example.


Java Properties file example

  • 07 December 2016
  • ADM

How to work with java Properties files. Properties files are key values file. The tutorial contains both read and write examples.


How to convert Char to String in Java

  • 23 November 2020
  • ADM

How to convert Char to String in Java using String.valueOf and Character.toString method.


How to convert Char Array to String in Java

  • 07 December 2016
  • ADM

How to convert Char Array to String in Java. Two simple examples: using String constructor or static valueOf method


How to convert Byte array to String in Java

  • 07 December 2016
  • ADM

How to convert Byte array to String in Java. Simple example using String class.


How to create Null Object Pattern in Java

  • 07 December 2016
  • ADM

How to create Null Object Pattern in Java. Simple example using object and null object class implementation.