🚀 Learning Update | Java Fundamentals Today, I strengthened my understanding of how data is represented internally in Java. Here are some key concepts I learned: 🔹 Number Systems & Binary Representation How decimal numbers are converted into binary Role of MSB (Most Significant Bit) for sign (+ve / -ve) 1’s complement & 2’s complement representation 🔹 Character Encoding Difference between ASCII (7-bit, 128 symbols) and Unicode Why Java follows Unicode (UTF-16) instead of ASCII Java allocates 2 bytes for a char, supporting 65,536 symbols 🔹 Boolean Data Type Boolean values: true / false Size of boolean is JVM dependent (not fixed in Java specification) 🔹 Floating Point Representation Understanding float (4 bytes) and double (8 bytes) Precision and range differences IEEE standards used for representation 📌 This learning helped me clearly understand how Java stores data in memory, which is crucial for writing efficient and optimized programs. 💻 Consistent learning → Strong fundamentals → Better developer mindset #Java #CoreJava #ProgrammingBasics #Unicode #ASCII #Binary #LearningJourney #JavaDeveloper #TechStudent @TAP Academy
Java Fundamentals: Data Representation & Encoding
More Relevant Posts
-
Day 20 of sharing what I’ve learned 🚀 Difference between JVM and JRE in Java ☕ When I started Java, I used JVM and JRE interchangeably 😅 Turns out — they solve very different problems 👇 🔹 JVM (Java Virtual Machine) The engine that actually runs Java programs. Executes bytecode (.class files) Converts bytecode into machine-specific instructions Handles memory management, garbage collection, and runtime execution Makes Java platform-independent 👉 JVM = Runs the Java program 🔹 JRE (Java Runtime Environment) The environment needed to run Java applications. Includes JVM Includes core libraries & supporting files Required if you only want to run Java programs (not develop them) 👉 JRE = Provides everything needed to run Java 🧠 Simple way to remember: JVM → Executes the program JRE → Provides the runtime environment (JVM + libraries) #Java #Programming #SoftwareDevelopment #BackendDevelopment #Coding #CSFundamentals #Day20 Grateful for the guidance from Sharath R, Harshit T, TAP Academy
To view or add a comment, sign in
-
-
🚀 Core Java – Day 08 Learning Update 🚀 📘 Today’s session was a continuation of Java Data Types, and it gave me a deeper understanding of how data is actually represented and handled internally in Java. 🔹 Character Data Type (char) Learned how characters are stored using binary representation Understood the relationship between number of symbols and code length (2ⁿ concept) Explored ASCII vs UNICODE Why Java follows UNICODE (16-bit, 2 bytes) to support global languages 🌍 🔹 Boolean Data Type (boolean) Used to store true/false or yes/no values Learned that its size is JVM-dependent, making Java flexible across platforms 🔹 Type Casting in Java ✅ Implicit Type Casting (Widening) Automatic conversion from smaller to larger data types No loss of precision ✔️ ⚠️ Explicit Type Casting (Narrowing) Manual conversion from larger to smaller data types Possibility of data loss / precision loss 🧠 These concepts really helped me understand how Java manages memory, data conversion, and platform independence at a deeper level. 📈 Slowly building a strong foundation in Core Java, one concept at a time. TAP Academy Trainer:Sharath R #CoreJava #JavaLearning #Day08 #ProgrammingBasics #DataTypes #TypeCasting #Unicode #ASCII #JavaDeveloper #LearningJourney #Consistency 💪
To view or add a comment, sign in
-
-
Day 14 of My Java Learning Journey 🚀 Today, I explored an important concept in Java: Pass by Value and Pass by Reference, which plays a key role in understanding how data is handled during method calls. 🔹 Pass by Value A copy of the variable’s value is passed to another variable or method Any changes made to the copied value do not affect the original variable Commonly seen with primitive data types 📌 Example: Changing one variable does not impact the original value since only the copy is modified. 🔹 Pass by Reference The reference (address) of an object is passed Multiple references can point to the same object in memory Changes made using one reference affect the original object Common with objects and class types 📌 Example: When two reference variables point to the same object, modifying the object using one reference reflects through the other. 🔹 Key Learning ✔ Java always uses pass by value, but for objects, the value passed is the reference, which is why object data can be modified ✔ Understanding this avoids confusion while working with methods, objects, and memory This topic helped me clearly understand how Java handles data internally and how reference sharing works in real programs. 📈 Consistent learning, one concept at a time. #Day14 #Java #CoreJava #PassByValue #PassByReference #ProgrammingConcepts #JavaDeveloper #LearningJourney
To view or add a comment, sign in
-
-
📘 Learning Java Core Concepts – Day by Day 🚀 Today I spent time understanding some important Java fundamentals that explain how programs actually work in memory. 🔹 Program vs Process A program stored in hard disk becomes a process when it is loaded into RAM Multiple programs can run at the same time in memory 🔹 Java Runtime Environment (JRE) JRE is the small memory region allocated in RAM where Java programs execute JRE is divided into: Code Segment Stack Segment Static Segment Heap Segment 🔹 Variables in Java Instance Variables Created inside a class Stored in the Heap segment Get default values automatically Local Variables Created inside methods Stored in the Stack segment Must be initialized before use (no default values) 🔹 Memory Understanding Objects are created in the Heap Reference variables are stored in the Stack Default values depend on data types This learning helped me clearly understand memory allocation, variable behavior, and Java execution flow 💡 Step by step, building strong foundations 💪 #Java #CoreJava #LearningJourney #ProgrammingBasics #JavaMemory #StudentLearning #Consistency TAP Academy
To view or add a comment, sign in
-
-
🚀 Day 14 | Core Java Learning 📅 27/01/2026 Today’s session was all about one of the most important foundation concepts in Java: 🔹 Pass By Value 🔹 Pass By Reference Understanding these concepts is crucial before moving deeper into Object-Oriented Programming, as they explain how Java handles primitive data types vs objects, memory behavior, and method calls. 📌 Key Takeaways: Primitive data types work on pass by value Objects work using reference (address) sharing Java is always pass by value, but for objects, the value passed is the reference Multiple references can point to the same object, causing changes to reflect everywhere Grateful to Tap Academy for the clear explanations and practical examples that make learning Java easier and more interesting. 💡💻 Step by step, building a strong foundation in Core Java. 🔖 Hashtags: #Day14 #CoreJava #PassByValue #PassByReference #JavaProgramming #ObjectOrientedProgramming #TapAcademy #JavaLearner #FullStackDevelopment #LearningJourney #JavaBasics #ProgrammingConcepts
To view or add a comment, sign in
-
-
🚀 DSA in Java | Shortest Path Using NSEW Directions 🚀 While practicing Data Structures & Algorithms in Java, I solved a classic logic problem: 👉 Finding the shortest path after a sequence of directions (N, S, E, W). 📌 Problem Insight: Given a string consisting of directions: N (North) S (South) E (East) W (West) We track movement on a 2D plane starting from (0, 0) and calculate the shortest distance from the origin after completing the full path. 🧠 Approach Used: Maintain two variables x and y for horizontal and vertical movement Traverse the string once Update coordinates based on direction Final shortest path = |x| + |y| (Manhattan Distance) ⚙️ Complexity: Time Complexity: O(n) Space Complexity: O(1) 💡 What I learned from this problem: ✅ Translating real-world movement into code ✅ Coordinate system fundamentals ✅ Importance of absolute values in distance calculation ✅ Writing optimized and readable Java logic I’m consistently practicing DSA in Java to improve problem-solving skills and build a strong foundation for backend and system-level development. 📈 Learning Focus: Core Java DSA fundamentals Logic building Writing optimized solutions One problem at a time, getting better every day 💻🔥 #DSA #Java #ProblemSolving #LearningInPublic #CodingJourney #JavaDeveloper #DataStructures #Algorithms #100DaysOfCode #BackendDevelopment
To view or add a comment, sign in
-
-
📘 Day 16 of My Java Learning Journey Today, I revised Arrays in Java in more detail to strengthen my fundamentals. What is an Array? An array is a data structure that stores multiple values of the same data type under a single variable name. Instead of creating many separate variables, we can store all values in one array. Arrays 🔹 Regular Array – Equal number of columns (rectangular array) 🔹 Jagged Array – Unequal number of columns Syntax to Declare an Array data_type[] array_name; 📦 Types of Arrays 1️⃣ 1D Array – Single list int[] a = new int[5]; a[0] = 10; 2️⃣ 2D Array – Rows & columns int[][] a = new int[2][3]; a[1][2] = 30; 3️⃣ 3D Array – Multiple blocks int[][][] a = new int[2][3][4]; a[1][0][2] = 50; #Day16 #Java #Arrays #ProgrammingBasics #CodingJourney #LearningJava@Tap academy
To view or add a comment, sign in
-
-
Day 27.. 💡 Today’s Learning: Method Overloading in Java Today, I explored Method Overloading in more depth! 🚀 🔹 What is Method Overloading? Method Overloading allows a class to have: ✅ Same method name ✅ Different parameters The Java compiler differentiates overloaded methods based on: 1️⃣ Number of parameters 2️⃣ Data types of parameters 3️⃣ Sequence of parameters 4️⃣ Implicit typecasting 👉 The compiler also considers implicit typecasting while resolving overloaded methods, which can sometimes lead to ambiguity if multiple methods match. 🔎 Bonus Insight: Yes, the main() method can be overloaded in Java. However, the JVM always starts execution from the standard signature: public static void main(String[] args) Any overloaded version must be called manually. ✨ Key Takeaway: Method Overloading improves code readability, reusability, and flexibility, making it a powerful concept in Java’s Object-Oriented Programming. Learning something new every day! 💪 #Java #OOP #MethodOverloading #Programming #LearningJourney #JavaDeveloper
To view or add a comment, sign in
-
-
📘 Learning Java Basics – Daily Progress 🚀 Today I practiced and understood some important Java concepts by working through multiple code snippets and outputs. 🔹 Type Conversion & Casting Difference between int, float, byte, long Explicit casting using (int) How data loss happens during casting 🔹 Byte Data Type Behavior Why byte cannot store large arithmetic results How arithmetic operations convert byte values to int Use of compound assignment (+=) and overflow behavior 🔹 Character to Integer Conversion ASCII values of characters Implicit conversion from char to int Difference between pre and post increment with characters 🔹 Operators & Expressions Arithmetic operators Assignment operators (+=, -=, *=, /=) Understanding complex expressions step by step 🔹 Number Systems Binary, Octal, and Decimal values How Java interprets numbers like 001, 010, 100 Practicing these examples helped me improve my logical thinking, debugging skills, and confidence in Java fundamentals 💡 Learning every day, one concept at a time 💪 #Java #CoreJava #ProgrammingBasics #LearningJourney #JavaPractice #StudentDeveloper #Consistency #PlacementPreparation TAP Academy
To view or add a comment, sign in
-
-
💡 Java Learning Series – final vs finally vs finalize These three terms sound similar in Java but have completely different purposes. Here’s a simple breakdown: ✔️ final – A keyword used to restrict modification. → Final variable = constant value → Final method = cannot be overridden → Final class = cannot be inherited ✔️ finally – A block used in exception handling. → Always executes whether an exception occurs or not → Commonly used for closing resources like files or database connections ✔️ finalize() – A method called by the garbage collector before object destruction (now rarely used and mostly deprecated in modern Java). Understanding these small differences helps avoid confusion and write better Java code.🚀 #Java #CoreJava #Programming #JavaDeveloper #CodingJourney #LearningJava
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development