Day 1 Java with DSA


Hi everyone! ๐
Welcome to CodeOps Blog โ where Iโm learning Java with DSA and sharing my journey publicly for consistency, growth, and a little bit of fun ๐
๐ง What I did today:
Installed Java JDK and set up VS Code
Fixed input issue in VS Code terminal (yes, those things happen!)
Wrote my first Hello World program ๐
Learned Java basics:
Variables & Constants
Data types:
int
,float
,char
,boolean
,String
Input/Output using
Scanner
๐ก Code Snippet โ Taking User Input in Java:
import java.util.Scanner;
public class InputExample {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.print("Enter your name: ");
String name = sc.nextLine();
System.out.println("Hello, " + name + "!");
}
}
Subscribe to my newsletter
Read articles from Palak Sharma directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Palak Sharma
Palak Sharma
Hi, Iโm Palak Sharma, a B.Tech CSE student exploring the world of software development. Currently diving into Java with DSA and sharing my journey online to stay consistent, learn better, and connect with like-minded folks! I love frontend development, and Iโm curious about how things work behind the scenes.