Kyo-chan
Kyo-chan
JCHJava Community | Help. Code. Learn.
Created by wrain2055 on 11/20/2024 in #java-help
I am trying to create a simple java project Student Management System
Syntax highlighting colors show very clearly that you have one too many }
18 replies
JCHJava Community | Help. Code. Learn.
Created by orbankaroly on 11/19/2024 in #java-help
Hey guys,
Looks good enough. "More elegant" ways to do that would usually imply to use a List rather than an array.
7 replies
JCHJava Community | Help. Code. Learn.
Created by theash2473 on 11/15/2024 in #java-help
Adding character/s to a string has two different variations.
Right. It's what I said above, and operators are evaluated left to right
14 replies
JCHJava Community | Help. Code. Learn.
Created by taun on 11/15/2024 in #java-help
unable to locate png from location on pc
What's the stack trace printed?
6 replies
JCHJava Community | Help. Code. Learn.
Created by theash2473 on 11/15/2024 in #java-help
Adding character/s to a string has two different variations.
If you apply operator + on two number operands, then it is addition. And chars are seen as numbers. So it adds '[' and '[', which is 182. Then it concatenates 182 with "eeksforGeeks"
14 replies
JCHJava Community | Help. Code. Learn.
Created by theash2473 on 11/15/2024 in #java-help
Adding character/s to a string has two different variations.
If you apply operator + with any of its two operands being a non-wrapped object, then it is concatenation. It will produce a String which is the result of converting operands to String as needed, and then producing the String that is the first operand's String immediately followed by the second's.
14 replies
JCHJava Community | Help. Code. Learn.
Created by theash2473 on 11/15/2024 in #java-help
Adding character/s to a string has two different variations.
And also of the fact that Java sees the char type as a number with weird literals
14 replies
JCHJava Community | Help. Code. Learn.
Created by theash2473 on 11/15/2024 in #java-help
Adding character/s to a string has two different variations.
That's an unfortunate result of the fact that operator + may mean addition or concatenation
14 replies
JCHJava Community | Help. Code. Learn.
Created by Jack9 on 11/14/2024 in #java-help
Jackson Mapper - String[] conversion possible?
This was a long-winded way of confirming you're guaranteed to be in a X/Y problem situation, which experts on the domain may be uninterested in. But you do you.
29 replies
JCHJava Community | Help. Code. Learn.
Created by Jack9 on 11/14/2024 in #java-help
Jackson Mapper - String[] conversion possible?
That it provides that changes none of the previous observations.
29 replies
JCHJava Community | Help. Code. Learn.
Created by Jack9 on 11/14/2024 in #java-help
Jackson Mapper - String[] conversion possible?
.... No. Jackson does the job it is expected to do. Whether internally arrays or lists are involved is none of the business of whoever isn't making Jackson itself.
29 replies
JCHJava Community | Help. Code. Learn.
Created by Jack9 on 11/14/2024 in #java-help
Jackson Mapper - String[] conversion possible?
You do understand how much this is guaranteed to be an X/Y problem?
29 replies
JCHJava Community | Help. Code. Learn.
Created by Jack9 on 11/14/2024 in #java-help
Jackson Mapper - String[] conversion possible?
Jackson is for converting to JSON, not to arrays. What can possibly make it so you care whether that convert above will give out an array or a List?
29 replies
JCHJava Community | Help. Code. Learn.
Created by Jack9 on 11/14/2024 in #java-help
Jackson Mapper - String[] conversion possible?
You just refuse to develop your thoughts regarding my observation?
29 replies
JCHJava Community | Help. Code. Learn.
Created by Jack9 on 11/14/2024 in #java-help
Jackson Mapper - String[] conversion possible?
But... Jackson is for converting to JSON, not to arrays.
29 replies
JCHJava Community | Help. Code. Learn.
Created by Jack9 on 11/14/2024 in #java-help
Jackson Mapper - String[] conversion possible?
Wait, what are you testing? Why do you care what convert(object, HashMap.cass) does?
29 replies
JCHJava Community | Help. Code. Learn.
Created by Silvan on 11/14/2024 in #java-help
Game Logic
Sigh. Not mindreaders, and so on. What is that game, what is a cell, what is waiting, blah blah
5 replies
JCHJava Community | Help. Code. Learn.
Created by Jflash on 10/21/2024 in #java-help
having issues with Cannot invoke "java.util.ArrayList.size()" because "this.listOfMicronutrients" is
I mean, I'm talking about objects not existing if you don't create them, you have an error saying something is null... Do you really need more?
16 replies
JCHJava Community | Help. Code. Learn.
Created by Jflash on 10/21/2024 in #java-help
having issues with Cannot invoke "java.util.ArrayList.size()" because "this.listOfMicronutrients" is
something like that, yes
16 replies
JCHJava Community | Help. Code. Learn.
Created by Jflash on 10/21/2024 in #java-help
having issues with Cannot invoke "java.util.ArrayList.size()" because "this.listOfMicronutrients" is
........ Your list won't exist as long as you don't create it?
16 replies