Java me type conversion chhota lagta hai, but bugs yahin se start hote hain
Auto conversion, casting, aur type promotion clear nahi hua to output wrong aa sakta hai
Isko simple way me break kiya hai for easy understanding
Save & Shareπ
#JavaBasics#LearnJava#CodingJourney#DSA
Day 17 of #100DaysOfCode:
- Dove into Java methods today - finally wrapping my head around parameters, return types, and overloading.
- Also tackled 1D arrays for storing lists like a boss (hello, loops for traversal!).
- refreshed on operators (arithmetic, logical, bitwise .
- Progress feels real, but regex flashbacks haunt me.
- Onto 2D arrays tomorrow?
#CodingJourney#JavaBasics
Today I wrapped up Java variables from what a variable is to primitive vs non-primitive types, and how to declare & initialize them.
Step by step, building a stronger foundation. One day at a time. One post at a time.
#Java#JavaBasics#100DaysOfCode#BuildInPublic
Imagine launching a rocket π.
You need that initial ignition, right? π₯
The main method in Java is EXACTLY that! It's where the JVM says, "Okay, let's GO!" π¦ Without it? Your program is going nowhere.
#LearnToCode#JavaBasics
Tweet 4: Comments in Java π¬
Comments are notes you write inside your code.
They help you and others understand what's going on.
// This is a single-line comment
Use it for short notes.
/*
This is a
multi-line comment
*/
Use it when your note is longer.
.
.
β‘οΈ Comments make your code easier to read.
Clean code is better than clever code.
#JavaBasics#CodeTips