Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 19bd606

Browse files
authoredOct 16, 2024
Update README.md
1 parent 4250ddd commit 19bd606

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed
 

‎README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,35 @@
11
# JavaProgramming
2-
Java Codes
2+
Key Concepts in Core Java:
3+
Object-Oriented Programming (OOP):
4+
5+
Classes and Objects: Core building blocks of Java programs.
6+
Inheritance: Mechanism to reuse code and create relationships between classes.
7+
Polymorphism: Ability to process objects differently based on their data type or class.
8+
Abstraction: Hiding implementation details and showing only essential features.
9+
Encapsulation: Keeping fields within a class private and providing access through public methods.
10+
Basic Syntax and Constructs:
11+
12+
Data Types: Primitive types (int, char, boolean) and reference types (objects).
13+
Control Statements: If-else, switch, loops (for, while), etc.
14+
Exception Handling: Try-catch blocks, throw, throws, and custom exceptions for error handling.
15+
Collections Framework:
16+
17+
Lists, Sets, Maps: Data structures like ArrayList, HashSet, and HashMap to store and manipulate groups of objects efficiently.
18+
Iterators: To traverse collections.
19+
Multithreading:
20+
21+
Thread Class and Runnable Interface: Creating and managing multiple threads to execute tasks concurrently.
22+
Synchronization: Ensuring thread safety when multiple threads interact with shared resources.
23+
Java Input/Output (I/O):
24+
25+
Streams: For reading from and writing to files, consoles, and other I/O sources.
26+
Serialization: Converting an object’s state into a byte stream to store or transmit.
27+
Memory Management:
28+
29+
Garbage Collection: Automatic memory management that reclaims memory from objects no longer in use.
30+
Heap and Stack: Memory areas used for dynamic memory allocation and method execution.
31+
JVM (Java Virtual Machine):
32+
33+
Platform Independence: Bytecode compiled by the Java compiler runs on any machine that has a JVM.
34+
ClassLoader: Loads classes dynamically at runtime.
35+
JIT Compiler: Optimizes bytecode into machine code for faster execution.

0 commit comments

Comments
 (0)
Please sign in to comment.