PDA

View Full Version : Java Language Basics/Fundamentals


  1. What are the various ways to learn Java effectively ?
  2. What is meant by JRE ?
  3. What is meant by JDK ?
  4. What is JVM ? What it does ?
  5. What is Compiler ?
  6. What is Java Compiler ? What it does ?
  7. What are various types of compilers in Java ?
  8. What is Java Comparator ?
  9. What is Javadoc ?
  10. What is the latest version of java ?
  11. What are the features added in J2SE 5.0 ?
  12. What are the major changes in Java SE 6 ?
  13. Why we prefer Java ?
  14. What is the difference between C++ and Java ?
  15. Explain Java Class Loaders ?
  16. What is Static class loading ?
  17. What is Dynamic class loading ?
  18. What are the Run Time Data Areas in JVM ?
  19. What is Method Area in Java ?
  20. What is Heap Area in JVM ?
  21. What is Java Stacks in JVM ?
  22. What is the purpose of Execution Engine in JVM ?
  23. How to make a singleton class ?
  24. What is Casting ?
  25. How are this() and super() used with constructors ?
  26. Can an object's finalize() method be invoked while it is reachable ?
  27. What is the difference between the Boolean & operator and the && operator ?
  28. What is the difference between final, finally & finalize ?
  29. In Java which one to use Abstract Class or Interface ?
  30. What are Peerless Components ?
  31. Why would you use a Synchronized block vs. Synchronized method ?
  32. Why would you use a Synchronized block vs. Synchronized method ?
  33. Why do we need public static void main (String arg[]) method in Java ?
  34. What is a Singleton Class ?
  35. What is the difference between Parameters & Arguments ?
  36. What is Reflection in Java ?
  37. Can an Abstract Class be Final ?
  38. Can we have virtual functions in Java ?
  39. What is the main difference b/w Java platform & other platform ?
  40. What is Native code ?
  41. Is Java code slower than Native code ?
  42. Can we Override a Static Method ?
  43. In Java what is path and classpath ?
  44. In Java 1.5 what are Enums ?
  45. What is diff between x=x+2 and x+=2 ?
  46. What is the difference between 'kind of' and 'has a' ?
  47. What is the default scope for a Method ?
  48. What is the use of bin and lib in JDK ?
  49. What modifiers may be used with top level class ?
  50. Explain about Date Class ?
  51. What type of files builtin package contains ?
  52. In Java 1.5 what are Enums ?
  53. What is the difference between J2sdk1.0 and J2sdk1.5 ?
  54. What are annotations in jdk1.5 ?
  55. What is the differnce between plat-form independent and portability ?
  56. What access specifier is kept by compiler for the default constructor?
  57. Can any one explain features of Jdk1.7 ?
  58. Is it possible to run C and C++ code in JVM ?
  59. How we can increment the size in araylist and vector?
  60. How we can invoke external process in Java ?
  61. What is the purpose of toString()?
  62. Seeking explanation to following code...
  63. Explain when the finalize() method will be called?
  64. What are access specifiers or access modifiers in Java ?
  65. How to use Java Unsignedwords ?
  66. How Java handles visibility of elements ?
  67. What are the possible value for Integers in IEEE?
  68. Why two JRE folders are used in Java ?
  69. How to detect usb arrival and get drive letter ?
  70. What is meant by bytecode ?
  71. What are the special features of compilers in Java ?
  72. Which language does JVM written in ?
  73. How Java is tightly coupled language ?
  74. How to provide Security to convert .class to .java file ?
  75. How can we add textfields and retrieve values in a Java program ?
  76. How to convert Java class into .exe file ?
  77. What happens when we write String s1="shekar" ?
  78. How JVM creats String object
  79. What is the use of markup interface ?
  80. Interview questions on main() method
  81. How many types of exceptions in java?
  82. How to count objects in a single class?
  83. What are the uses of Serialization?
  84. Why is the compiler platform independent while JVM is platform dependent?
  85. What is the significance of Marker Interface? why are we using even though it has no methods?
  86. Detail difference between 4 types of driver and their use in different different applications?
  87. How to find the second largest integer element from one million int variables without memory error ??
  88. What is strutsbean?
  89. What is difference between | and || (logical operators) in java ??
  90. What are the access specifiers that can be used with constructor?
  91. Can we declare a constructor as private or protected?
  92. Whether the java is used for client side programming or serverside programming?
  93. How can we improve perfomance of a java program?
  94. Can we create our own Marker Interface?
  95. Difference between Abstraction and Encapsulation?
  96. How to get the name of the current Thread?
  97. What the cause for Compile time error ?
  98. Java Basics
  99. What is Singleton Class?
  100. Program for the Static variable access
  101. What are Factory Methods?
  102. What are access specifers & what are access modifiers? What is the diff b/w them?
  103. Where we use instanceof keyword?
  104. Program for Arguements Passing.
  105. Difference between Reference and objects?
  106. Difference between #include and import ?
  107. Can we declare Static variable as Private ?
  108. How SUN is getting money since they are providing everything as open source?
  109. why java is not supporting multiple inheritence through classes?
  110. Is java is pure object oriented or partial object oriented?
  111. Serialization...
  112. Can we control serialization?
  113. why main method is static?
  114. What is the Different between System.gc() and Runtime.getRuntime().gc()?
  115. example program for JDBC type-4?
  116. difference b/w the gc and finalize?
  117. Inheritance
  118. JUnit
  119. how many ways we can create instances of a class?
  120. Difference between Parameters and arguments
  121. Class to Source file
  122. Is there any sizeof operator in java
  123. is there any goto/goto label in java?
  124. explain about observer and Observable