As a programmer we should always make sure our program is easily readable and understandable by other programming fellows. A program can be easily followed only when it is formatted properly i.e.; wit...
Posts from September 2012
6 result(s) found
Question: 101Given:7. void waitForSignal() {8. Object obj = new Object();9. synchronized (Thread.currentThread()) {10. obj.wait();11. obj.notify();12. }13.}Which statement is true?A. This c...
When I've initially started development with Java, I wasn't aware of the API documentation. Given that API needs an internet connection (of course, it can be downloaded), I was looking for a small kin...
Java system propertiesJVM holds default system properties which are very useful to get the JVM meta data i.e.; JVM version, Java version and underlying operating system proprties like OS version and O...
JVM MemoryEvery JVM instance is a process running under the operating system. As every process will have allocated memory, JVM will also have default memory allocated for the process that it is runnin...
Question: 81Given:12. public class Yippee2 {13.14. static public void main(String [] yahoo) {15. for(int x = 1; x 16. System.out.print(yahoo[x] + " ");17. }18. }19. }and the command line invocation:ja...