Learn Java practically
and Get Certified.
Popular Tutorials
Start Learning JavaCreated with over a decade of experience.
Certification Courses
Created with over a decade of experience and thousands of feedback.
Learn Java practically
and Get Certified.
Try Programiz PRO!
Learn Java practically
and Get Certified.
The best way to learn Java programming is by practicing examples. The page contains examples on basic concepts of Java. You are advised to take the references from these examples and try them on your own.
All the programs on this page are tested and should work on all platforms.
Want to learn Java by writing code yourself? Enroll in our Interactive Java Course for FREE.
Popular Examples
- Java Program to Convert Character to String and Vice-Versa
- Java Program to convert char type variables to int
- Java Program to convert int type variables to char
- Java Program to convert long type variables into int
- Java Program to convert int type variables to long
- Java Program to convert boolean variables into string
- Java Program to convert string type variables into boolean
- Java Program to convert string type variables into int
- Java Program to convert int type variables to String
- Java Program to convert int type variables to double
- Java Program to convert double type variables to int
- Java Program to convert string variables to double
- Java Program to convert double type variables to string
- Java Program to convert primitive types to objects and vice versa