0
What is the purpose of using JDK in java programming?!
Can anyone explain the usage of jdk?!
2 Answers
+ 5
Java compiler is part of the JDK so you need it to compile your Java code. Running a compiled code needs JRE, JDK is not mandatory.
+ 4
well, you are always using it.
Any code, that you hv not defined yourself, is a part of JDK.
EXAMPLE System.out.println();. here System is a class inside JDK ,print is a method . Similarly, string and other datatypes are nothing but classes, present in JDK