0

What is the purpose of using JDK in java programming?!

Can anyone explain the usage of jdk?!

12th Mar 2017, 2:29 PM
yaamini rajkumar
yaamini rajkumar - avatar
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.
12th Mar 2017, 3:45 PM
TamĂĄs Barta
TamĂĄs Barta - avatar
+ 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
12th Mar 2017, 2:48 PM
Meharban Singh
Meharban Singh - avatar