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.