Vamos a ver que pedo, tengo curiosidad
[Java] [Discord bot] Discord bot, coded in Javacord
#12
Posted 18 September 2019 - 05:40 PM
I used to code java when I was 14-15 and what not. I love looking at others projects and just reading the source code. You did an amazing job coding this OP but one question Why didn't you just throw everything into main, instead of creating the newMain and having to call it to main? Just curious
Hello,
thank you
I'm throwing all into NewMain in my projects because I like to work with instances, without static. It's just my thing
#13
Posted 18 September 2019 - 06:17 PM
Hello,
thank you
I'm throwing all into NewMain in my projects because I like to work with instances, without static. It's just my thing
Its been a while lol, so static means the class or variable can't be used in other classes correct? Sorry if I butchered it lmao, it's been like 8 years ahah
#14
Posted 18 September 2019 - 06:25 PM
Its been a while lol, so static means the class or variable can't be used in other classes correct? Sorry if I butchered it lmao, it's been like 8 years ahah
Just to explain https://www.javatpoi...keyword-in-java
#15
Posted 28 September 2019 - 04:26 AM
#19
Posted 07 October 2019 - 05:41 PM
#20
Posted 08 October 2019 - 07:24 PM
Hello,
thank you
I'm throwing all into NewMain in my projects because I like to work with instances, without static. It's just my thing
You can do that without NewMain... (new Main() will leave the static)
Edited by GalaxyMika, 08 October 2019 - 07:26 PM.
bruh
Users browsing this thread: