shlogg · Early preview
Mercy @mercy_tari14000

Software Developer who is learning more languages and skills

Staying Focused With Lofi Beats: Boost Your Productivity

Staying focused while studying? Try Lofi Beats! I ditched lyrics for a distraction-free zone. What's your go-to study music?

Arrays Vs Lists In Software Development: Understanding The Differences

Arrays are data structures storing similar items in contiguous memory locations with fixed size & type. Lists like Java's ArrayList are more flexible, dynamic & can hold different types & resize.

2025 Goals: Learning, Growth, And Resilience In Software Engineering

Setting goals for 2025: continuous learning (Java OCA SE8 exam), side project completion, online presence, resilience & adaptability, self-help books, soft skills, well-being & health. Tracking progress to achieve aspirations.

Java Try-With-Resources Statement Explained

try-with-resources statement in Java automatically closes resources like files, connections, etc., after use, preventing resource leaks and exceptions. It's a safer alternative to traditional try-catch blocks.

Understanding Java's Null Literal: Uses And Best Practices

NullPointerException occurs when trying to use a variable with a null value. To avoid it, check for null values: `if (str != null) { ... } else { ... }`. Null literal represents absence of value or reference in Java.

Java Property Passing Methods Explained

Java passes properties by value for primitives & reference for objects, affecting data manipulation in methods. 9 ways to pass props: args, returns, vars, statics, constructors, getters/setters, collections, prop files & DI.

How To Fix ArrayIndexOutOfBoundsException In Java Programs

ArrayIndexOutOfBoundsException occurs when accessing an array index outside its bounds (0 to length-1). Fix: Change inner loop condition from j < nums.length to j < nums.length - 1.

Arrays In Java: One-Dimensional And Multi-Dimensional Arrays Explained

Arrays in Java store multiple values in a single variable, with two types: one-dimensional & multi-dimensional arrays. They're objects storing references to data, improving access speed through contiguous memory locations.

Arrays In Programming: Efficient Data Storage With Reference Variables

Declare array type, assign to ref var & print values with loops. Arrays in Java & C# are objects, use `equals()` for reference equality.

Inheritance In Java: A Guide To Hierarchical Class Relationships

Java inheritance lets subclasses inherit attributes & behaviors from superclasses, promoting code reusability & organizing classes naturally with the `extends` keyword.

Static Vs Instance Variables: Understanding The Key Differences

Static vars share state across all class instances, while instance vars are unique to each object. Static methods can't access instance vars, only static ones.

Spring Boot JPA PostgreSQL Tutorial

Create REST APIs with Spring Boot & PostgreSQL: Set up a Spring Boot project, configure PostgreSQL as database, define data models, create repository interfaces & implement custom finder methods using Spring Data JPA.

OCA Java SE8 Programmer I Certification: Tricky Questions Revealed

Overloaded methods in Java can lead to tricky certification questions! Did you know that a private static void main() method is allowed, but won't be the entry point? And calling it from a public main will result in a compilation error!

GitHub Profile Importance For Job Landing Debated

Employers expect a GitHub profile as a representative portfolio for developers. It's not always necessary, especially if most work is done on private corporate repos. Share your thoughts!

Software Engineering For Beginners: Weekend Relaxation Tips

Happy Friday, code newbies! Weekend plans? Visiting the Waterfront Aquarium to relax and recharge after a tiring quarter. Share yours in the comments!

Thanking DevTo Friends For Support And Feedback

Thanks to all 10K followers who find my posts interesting! Your reactions, comments & feedback keep me improving daily. You're an amazing DevTo family!

Top 5 Go-To IDEs For Developers: VS Code & More

VS Code is my go-to IDE! Easy to use, supports many extensions & offers IntelliSense code completion & debugging for macOS, Linux & Windows.

Java Logging Best Practices For Robust Debugging And Maintenance

Proper logging in Java is crucial for debugging, maintenance & system reliability. Learn how to set up a robust logging system using Log4j and SLF4J with structured format, contextual info & centralized config.

This Isn't Related To Software Engineering Or Web Development.

Friday is the most loved day of the week for many, but for me it's the busiest as I wrap up work to avoid starting the week with a backlog.

Top-Level Await Simplifies Asynchronous Code In JavaScript

Top-Level Await simplifies async code in JS, allowing `await` at module level, improving readability & maintainability. Introduced in ECMAScript 2022, it eliminates need for wrapping async ops in functions.

Speech-to-Text App With Real-Time Transcription

Speech-to-Text App with Flask and AssemblyAI Built using Flask Web Framework, AssemblyAI's MicrophoneStream, and CSS for styling the user interface.

Java SE 8 Exam Practice And Key Concepts For Success

Practice Java SE 8 with 1Z0-808 exam requires understanding of key concepts like immutable strings, ternary operators, lambda expressions & bitwise vs logical operators.

Java Unary Operators Explained In Detail

Unary operators simplify code with single-operand operations like incrementing, negating or inverting values, enhancing readability & functionality in programming.