Comment by Federico klez Culloca on Maang Question Please help me optimise...
"i got the answer in O(n^2) complexity" great, let's see that
View ArticleComment by Federico klez Culloca on Error: /usr/bin/xvfb-run: 184: mvn: not...
Is mvn's installation path in the PATH variable as well?
View ArticleComment by Federico klez Culloca on Is it possible to get the name of...
@MrIrrelevant that would help if you need animal, not if you need dogs or cats
View ArticleComment by Federico klez Culloca on Remove character - from string in java
Please add your non-working code to your question, with the inputs, the result you expect and the result you're getting instead, so we can start from there. If in doubt please read about minimal...
View ArticleComment by Federico klez Culloca on How can I read a LocalDate?
@deHaar to be pedantic, OP never defined a DateTimeFormatter. They're just printing that format for the user to read and trying to assign the result of nextLine (or rather, a non-existing variable...
View ArticleComment by Federico klez Culloca on "Non-static method cannot be referenced...
@Django47 I modified your question to make what you're asking more clear.
View ArticleComment by Federico klez Culloca on Can you break out of a switch case from...
Not an exact duplicate, more like a general discussion about labeled statements: How do you use the label statement in java?
View ArticleComment by Federico klez Culloca on Method of controller is not called from ajax
Please include some debugging detail. Do you see the call from the browser console? Are you getting a specific error?
View ArticleComment by Federico klez Culloca on Method of controller is not called from ajax
How does that explain a 302 response?
View ArticleComment by Federico klez Culloca on Use of Runnable param in...
What kind of opinion are you asking for? Also "Normally the Runnable#run method is designed to be invoked from within Thread#start() and not used directly" says who?
View ArticleComment by Federico klez Culloca on error: cannot find symbol if...
"Cannot find symbol" should tell you exactly what symbol it cannot find. Which one is it?
View ArticleComment by Federico klez Culloca on I don't understand how to fix bugs in my...
Are we supposed to guess the bugs?
View ArticleComment by Federico klez Culloca on Command to obtain complete details of all...
superuser.com/questions/914782/… and then count occurrences of java.exe
View ArticleComment by Federico klez Culloca on Is there some sort of pool in Java that...
@DeborahAnn that's something that you have to decide. You should measure both solution and decide whether the memory/computation tradoff is worth it. By the way the words you should be looking for are...
View ArticleComment by Federico klez Culloca on Output not coming in Console
"Why it is allowing me to type no: in console space even though I have not used SCanner class" because you don't need a Scanner to be able to type in a console. You need Scanner to read what you typed,...
View ArticleComment by Federico klez Culloca on why does this casting behave this way?
Please instead of relying on code comments that tell us what other versions of the code do, add the relevant code to the question.
View ArticleComment by Federico klez Culloca on Optional.ifPresent throws NPE when action...
Because uninitialisedList::add must still be evaluated and uninitializedList is null.
View ArticleComment by Federico klez Culloca on not invoke String.substring(int)
Are you sending that header in postman?
View ArticleComment by Federico klez Culloca on Resource leak: 'input' is never closed
@MrIrrelevant because that's useless. Warnings are useful, but they shouldn't be acted upon just to make them shut up. In this specific case the correct action is "just ignore it".
View Article