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.


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


Autoboxing and Unboxing in Java

  • 12 October 2016
  • ADM

In Java, autoboxing is the automatic conversion between the primitive types and their corresponding object wrapper classes. Unboxing is the other way around.


How to read CSV file in Java

  • 27 May 2016
  • ADM

How to parse CSV file in Java and display all the value.The solution treats the case when a column contains the delimiter and the double quote character.


Luhn algorithm implementation in Java

  • 26 January 2017
  • ADM

Luhn algorithm implementation in Java with example for both calculate the check digit and validate the number.