Oraask Latest Questions
in java what is the difference between ++i and i++ and what is the effect of both in loop ?
i want to show elapsed time for specific operation done by user and print it to be in readable format like : 05 Mins 40 Seconds.
What is reflection, and why is it useful? I'm particularly interested in Java, but I assume the principles are the same in any language
If you have java.io.InputStream object, how should you process that object and produce a String? Suppose I have an InputStream that contains text data, and I want to convert this to a String. For example, so I can write the ...
I want to address the necessity to test every object if you want to access a field or method of this object. For example: [code] if (someobject != null) { someobject.doCalc(); } [/code] In this case I will avoid a NullPointerException, and I don't know exactly if ...
When trying to run WEB (PIA) Server, I'm getting the following error: A fatal error has been detected by the Java Runtime Environment: EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7ef8664b, pid=352, tid=1924 JRE version: 7.0_02-b13 Java VM: Java HotSpot(TM) Client VM (22.0-b10 mixed mode windows-x86 ) Problematic frame: C ...