In this video, I'm explaining the primitive data types in Java with hands on examples in IntelliJ IDEA. Also, I'm describing and unfolding the meaning of parsing and how to use it with command line arguments.
#assignment
Develop a Java program to read principal (Integer), rate (Double) and time (float) from command line and calculate simple interest in main( ) function.
PS. In this video we have discussed parsing for Integer, Float and Double classes only. Parsing function for other primitive data types are:
byte Byte.parseByte()
short Short.parseShort()
int Integer.parseInt()
long Long.parseLong()
float Float.parseFloat()
double Double.parseDouble()
boolean Boolean.parseBoolean()
For any doubts or suggestions please comment below.
On this page of the site you can watch the video online Data types in Java and Parsing. with a duration of hours minute second in good quality, which was uploaded by the user javaBuddy 09 May 2026, share the link with friends and acquaintances, this video has already been watched 32 times on youtube and it was liked by 2 viewers. Enjoy your viewing!