How can i able to solve these task, it's not explained well yet and as i seek for the solution of others it's very confusing because of very unfamiliar methods . someone explain to me or give me link or something :(
Can someone explain what's happening?
You must be signed in to leave a comment
2 May 2022, 22:02
I Got a notification that my credit score has dropped so when I checked it ,it went from a 760 down to 617 .I was totally stunned . Nothing has changed that i'm aware of ,all my bills are paid on time and not much card debt .I was so surprised how it is possible to drop so much and have no idea why .I saw an article that says thirty days late payments will stay on your reports for two years. I now remembered I had one late payment about four years ago. It was a sad experience for me and my lovely wife .we needed an immediate solution , that was when we came across some local community beneficiaries reviews of NEWHORIZONCREDIT1 ,then i contacted them at ( NEWHORIZONCREDIT1ATGMAILdotCOM ) .I was so shocked when i received an email regarding changes on my credit report .I discovered all my negative tradelines were off and my credit score increased from 617 -785 within five working days .
11 April, 21:22
urzekła mnie Twoja historia :P
28 April 2022, 23:39
It's really hard bro, but don't give up. The documentation doesn't help at all, because the people who wrote them don't care about beginners, they are only talking to themselves.
17 April 2021, 14:37
How have you learned anything? Did someone come to you one day and say "Read/Write/Speak English from now on" and you just did perfectly from that point forward?? The way you learn is by doing, over and over again. If you don't know something you look it up. This task is not hard since codegym even tells you that it solved with StackTrace. Have you tried that? I don't think you understand how big of a concept computer programming is today; and it grows larger every single day as well. The things that are standard today are going to be history next year. You will literally NEVER know how to use it all. Take this example, and it is a real life example (If you get a job in programming): Your boss comes to you and says they need you to create code using an API you have never used before to do something. Do you think they will accept you saying "I can't do that because I never learned that"? I can tell you that if you said that they will tell you to do what every single programmer has to do and figure it out.... or just fire you and replace you with someone who can figure things out.
18 April 2021, 11:16
Thanks sir, lately i read and research about StackTrace i also watched videos of it. but somehow i got confused and pressured so i end up saying this cause i desperately want to learn :(
18 April 2021, 11:58
The first place to visit is the Oracle api documentation if you want to know something about a specific class of that api. The easiest way to do that is to setup IntelliJ to open the docs when pressing F1 on your keyboard while the curser is on the class (or a method of it) in question (Edit - Project Settings - SDKs - now select the SDK you're using - Documentation Paths - and click the plus with the little globe [specify URL is the mouse over help text] - and finally OK [IntelliJ should fill in an apropriate path automatically]). That code you already know from the previous lesson. Add it to a test document and run itoutput is: getStackTrace main now click on StackTraceElement and press Shift-F1 and read the help that pops up An element in a stack trace, as returned by Throwable.getStackTrace(). Each element represents a single stack frame. All stack frames except for the one at the top of the stack represent a method invocation. The frame at the top of the stack represents the execution point at which the stack trace was generated. Typically, this is the point at which the throwable corresponding to the stack trace was created. So the stack trace is a representation of a mthod hierarchy. With the help of the stack the JVM has knowledge where in the method invocation history it resides and if it finds a return statement where to go back to. The entry point of your program was the main method as the bottom method and the last method invocation was getStackTrace. That's the output of the the stack trace.
18 April 2021, 12:06
Now change your program a little bit toI changed it to a standard for loop to make it easier to understand. In the loop you access each index of the StackTraceElement array and invoke the getMethodName method on it. That'll give you the name saved in that element. The last element is, as before, the getStackTrace method. Index 1 is the method inside that you called getStackTrace and the following indexes called the caller method. That's the stack trace.
19 April 2021, 08:16
sad to say im just using an android phone since i cant afford to buy atleast a low end laptop, im just a student but thank you i somehow understand your explanation :)
19 April 2021, 10:54
Then just do a google search for the api or open it here: Oracle Api docs Docs for StackTraceElement
19 April 2021, 23:41