Java vs Core Java

In this post, we will learn the difference between Java and Core Java in detail. This is a frequently asked
question in Java interviews for beginners. Let's dive into it.

Difference between Java and Core Java in Java

Java Core Java
"Java" is a broad term that can refer to the entire Java programming environment, including all its APIs, tools, and technologies. This includes things like JavaFX for graphical interfaces, Servlets and JavaServer Pages (JSP) for web-based development, Java Database Connectivity (JDBC) for database access, and more. "Core Java" refers to the fundamental parts of the Java Standard Edition (Java SE), which are essential for writing general-purpose applications. This includes basics like variables, data types, operators, control statements, arrays, classes, objects, exceptions, threads, etc.
Java is categorized into three parts: Java SE (Standard Edition), Java EE (Enterprise Edition), and Java ME (Micro Edition). Core Java is a part of Java SE.
Learning Java in its entirety would mean learning all the advanced technologies and APIs related to Java. Learning Core Java would typically mean focusing on the foundational elements and syntax of the Java language itself.
To develop enterprise applications, one would need to know about Java EE, which includes APIs like Servlets, JSP, Web Services, EJB, etc. Core Java is required for all Java applications, irrespective of their type (Desktop, Web, Mobile, etc.).

References


Comments