Java Basic Examples

Convert String to Primitive Example

This Java example shows how to convert String object to Java primitive data type.
How to convert String to primitive value in Java?
Java wrapper...

Convert Primitive to String Example

This Java example shows how to convert any primitive data type to String object.
How to convert primitive to String in Java?
There are several ways...

Example Employee Class

Here is the Employee class which is used in many of the examples. Employee class has four properties namely id, name, department and age and has...

Join 1000+ fellow learners! Enter your email address below: