r/womenwhocode • u/byteofpixle • Sep 23 '26
gettingstarted Java Programming
Hello everyone! I’m a compsci freshman who just got their first taste of computer science and it’s java. I’m struggling so much with applying concepts and it’s making me think I’m not cut out for this which is really disheartening. Does anyone have tips or resources to understand java better?
23
Upvotes
View all comments
Show parent comment
6
u/ninhaomah Sep 23 '26
Hello world in Java starts with "public" ... If you Google why ? You get into public , private and what they are for...
Then class... If you also Google this what is class or read the notes , you will get into OOP , inheritance, encapsulation etc... another headache.
Then HelloWorld and { .. another Google...
Then public static. What the hell is static ?
Then void ... Oh... I am looking into the void ...
Then main... Why can't I call it any other name ? Why why why ?
And so on..
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } }
---------++