Un-Answered Questions { Java Related AllOther }

What type of parameter passing does java support?

459


What do you understand by a variable?

517


When is static variable loaded? Is it at compile time or runtime? When exactly a static block is loaded in java?

501


What gives java it’s “write once and run anywhere” nature?

469


What is the difference between a jdk and a jvm?

491


Why are command line arguments passed as a string?

495


Name primitive java types.

518


I get an exception if I remove the static modifier from main?

540


How can the static main method use instance variables?

524


What is a jvm?

541


What is the difference between a jvm and a jdk?

529


What is the difference between a while statement and a do statement?

490


What is the java virtual machine (jvm)?

602


Define network programming?

529


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. Define how can I implement this logic?

581