Hi friends , I have a problem in my code(java code)but I can't find what's wrong with it! can any of u help me to find out?(I have shortage of time so I need your help!) thanks :)
I cannot invoke the methods on a object :( i really don't know what to do :(!i have class right now as soon as I can I will give more explanation ;(
thanks ... thanks ... thanks ...
Any chance that that "package eleventhsession1;" is biting you?
hey i've noticed a couple things. your typeMap isn't actually storing the types in the function handleSign what happens if it's given a line like b = new Boolean(true); the first if statement assumes the type is there if (leftTemp.contains(" ")) { tempArray = leftTemp.split(" "); objectType = tempArray[0]; // here objectName = tempArray[1]; // << here //... } check if (rightTemp.contains("new")) for a similar error also around line 199 if (constructorValue.contains("\"")) { Constructor constructor = c.getConstructor(String.class); here goes wrong when given Boolean b = Boolean.valueOf("true"); it's not actually a constructor but it tries to do so Oh and i had to change the text file encoding to UTF-8 i'm not sure what it was before that could also be giving you some dramas
thanks rsmith6559 for your attention:) but I think there's no problem with the part you mentioned.
Yes you're completely right I changed the lines you said and I think now there's no problem regarding them.but I still don't know what should I do for this line: Boolean b = Boolean.valueOf("true"); thanks ;) :)
Erm, why do you create an boolean object instead of a boolean variable? That is kinda useless and only stresses the ram (bad code).
I do need you're help ... :(
Join our real-time social learning platform and learn together with your friends!