0% found this document useful (0 votes)
7 views1 page

Introduction To Java Core Java OOP Concepts

Java is a high-level, object-oriented programming language that is platform independent due to its Write Once, Run Anywhere principle. Core Java encompasses fundamental programming concepts and libraries essential for advanced technologies, while object-oriented concepts like encapsulation, inheritance, polymorphism, and abstraction facilitate the development of reusable and maintainable software. An example program demonstrates the creation of a simple Java class with a method to display a student's name.

Uploaded by

yl0994062
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Introduction To Java Core Java OOP Concepts

Java is a high-level, object-oriented programming language that is platform independent due to its Write Once, Run Anywhere principle. Core Java encompasses fundamental programming concepts and libraries essential for advanced technologies, while object-oriented concepts like encapsulation, inheritance, polymorphism, and abstraction facilitate the development of reusable and maintainable software. An example program demonstrates the creation of a simple Java class with a method to display a student's name.

Uploaded by

yl0994062
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Introduction to Java, Core Java and

Object-Oriented Concepts

Java is a high-level, class-based, object-oriented programming language developed by Sun


Microsystems. It is designed to have as few implementation dependencies as possible, making it
platform independent through the principle of Write Once, Run Anywhere (WORA). Java
programs are compiled into bytecode, which can run on any device equipped with a Java Virtual
Machine (JVM). Java is widely used in web applications, desktop software, Android development,
enterprise systems, and cloud-based applications.

Core Java
Core Java refers to the fundamental concepts and standard libraries of Java programming. It
includes basic syntax, data types, operators, control statements, arrays, strings, exception
handling, multithreading, collections framework, file handling, JDBC, and object-oriented
programming principles. Core Java forms the foundation for advanced technologies such as
Spring Boot, Hibernate, and full-stack development.

Object-Oriented Concepts
Java follows the four main pillars of object-oriented programming:

1. Encapsulation: Wrapping data and methods into a single unit (class).


2. Inheritance: Acquiring properties and behaviors of one class into another.
3. Polymorphism: Performing a single action in different ways (method overloading and
overriding).
4. Abstraction: Hiding internal implementation details and showing only essential features.

These concepts help in creating reusable, scalable, and maintainable software applications.

Example Program
public class Student {
String name;
void display() {
[Link]("Name: " + name);
}
public static void main(String[] args) {
Student s = new Student();
[Link] = "Muneez";
[Link]();
}
}

You might also like