LinusHuck
Explore posts from serversJCHJava Community | Help. Code. Learn.
•Created by Pong on 1/28/2025 in #java-help
Tiles in a 2d Java game
should prob look like this then
title= new ArrayList<Char>();
title['a'] = ...
26 replies
JCHJava Community | Help. Code. Learn.
•Created by Pong on 1/28/2025 in #java-help
Tiles in a 2d Java game
you could use the alphabet
26 replies
JCHJava Community | Help. Code. Learn.
•Created by SidKid on 1/27/2025 in #java-help
how to solve this without loops at all
/run
15 replies
JCHJava Community | Help. Code. Learn.
•Created by SidKid on 1/27/2025 in #java-help
how to solve this without loops at all
Sure something like this should work
Should work ig
15 replies
JCHJava Community | Help. Code. Learn.
•Created by AyoWut? on 10/6/2024 in #java-help
Creating an object of an entire class?
this is how you can create a obj
https://www.w3schools.com/java/java_classes.asp
https://www.tutorialspoint.com/java/java_object_classes.htm
13 replies
JCHJava Community | Help. Code. Learn.
•Created by AyoWut? on 10/6/2024 in #java-help
Creating an object of an entire class?
Since he is at the start of java i would say not also @AllArgsConstructor is a part of lombok
https://projectlombok.org/features/
13 replies
JCHJava Community | Help. Code. Learn.
•Created by Franscis123$# on 8/5/2024 in #java-help
How to check if a value coincide with any enum value?
mb should have done it in an ide 😄
8 replies
JCHJava Community | Help. Code. Learn.
•Created by Franscis123$# on 8/5/2024 in #java-help
How to check if a value coincide with any enum value?
idk what you mean
8 replies
JCHJava Community | Help. Code. Learn.
•Created by Franscis123$# on 8/5/2024 in #java-help
How to check if a value coincide with any enum value?
So baiscally you have a string and want the enum value of it if there is one
like this
and then you want the enum value of the string
there you go
method
is also equal to
8 replies