PDA

View Full Version : Core Java Questions



Pages : [1] 2 3

  1. What is mean by dirty read
  2. What is JIT
  3. Can we Connect Applet to Data Base
  4. Basic difference b/w ALL types of JDBC driver
  5. What is the difference between Applet & Servlet
  6. How to run eclipse with jettyserver using batch file
  7. Why abstract class should have a constructor
  8. How to write a program for chat function using core java
  9. What is Inheritance, Polymorphism, Encapsulation
  10. What is difference between hashmap and hashtable
  11. What do you mean by JVM
  12. What do you mean by wrapper Class
  13. Can you create interface instance
  14. What is dynamic method dispatch
  15. Why we use applets
  16. Which is not Object in Java
  17. What is bit
  18. How many bits are there in the byte
  19. How to write a program for sending mails between client and server
  20. What is the Arraylist limit by default
  21. How do you change JVM for other OS? should need to Change
  22. Can abstract class have constructor how can it
  23. Which one the better thread implemented thread or extended
  24. Can we write a program with out a class in core java
  25. What is thread
  26. What is casting
  27. What is Interface
  28. How the threads are synchronized
  29. What is OOP
  30. Do you know thread pools
  31. What is hash method
  32. What is data abstraction? Elaborate with example
  33. What is the difference between arraylist and linkedlist
  34. Write the code for Palindrome
  35. What is Restrictions in hibernate
  36. Can we override static methods
  37. What are generics in jdk1.5
  38. Difference between flush() and commit() in hibernate
  39. What is the advantage of using threads
  40. What is garbage collection in Java, and how it is used
  41. Differentiate constructor and a method and how can be used
  42. What is an abstract class
  43. How can final class be used
  44. Java support what type of parameter passing
  45. Explain the term serialization
  46. By what default value is an object reference declared as an instance variable
  47. What is Overriding and how can it be used
  48. In which way does a Primitive data type is passed
  49. What is UNICODE
  50. What are Transient and Volatile Modifiers
  51. What is the use of bin and lib in JDK
  52. WHAT IS finalize() method
  53. Is there any need to import java.lang package
  54. What happens when a main method is declared as private
  55. there is any error if you have multiple main methods in the same class
  56. Difference between this(), super()
  57. Difference between an argument and a parameter
  58. What are different types of access modifiers
  59. What are Encapsulation, Polymorphism and Inheritance
  60. Difference between Superclass and Subclass
  61. Explain different ways of passing arguments to sub-routine
  62. What are inner and anonymous class
  63. b,b1,b2 are byte types
  64. How can we find size of the object
  65. What is the Diff. between Access Specifiers and Access Modifiers
  66. How many classes that package java.applet.* contains
  67. How to print nodes of a Binary tree
  68. How to reduce flicking in animation
  69. What is I/O Filter
  70. How to initialize an Applet
  71. What is 3-tier model
  72. Can a class inherit the constructors of its superclass
  73. Difference between Application and Applet
  74. For which statements we use a label
  75. How to eliminate duplicates from an array
  76. Name the methods in mouse listeners
  77. Explain Global variables in Packages
  78. Explain about GridBag Layout
  79. How OOPS concept is achieved in Java
  80. Can an exception be rethrown
  81. Can Applet have constructors
  82. Does 'true' and 'false' are keywords
  83. What Method and class used for Connection pooling
  84. Can you call a private data from an inner class
  85. Can multiple catch statements be used in exceptions
  86. What are integer overflows and underflows and how to handle them
  87. How are Java source code files named
  88. How are Observer and Observable used
  89. Can try statements be nested
  90. Explain about global variables in Java
  91. Name the class that used to read objects directly from a stream
  92. Can we access a database using applets
  93. Can you have a constructor in abstract class
  94. Can you extend more than one interface
  95. Define Compiling
  96. Can a lock be acquired on a class
  97. Difference between Applet & Application
  98. Can an abstract class be final
  99. How can we add two bytes variables
  100. How can you debug the Java code
  101. How to convert a string to long
  102. Explain about casting of objects
  103. How to add and remove nodes in Jtree
  104. How to avoid the runtime exception
  105. What is deadlock and how to avoid this
  106. How are this and super used
  107. What is lazy activation
  108. Explain Stream Tokenizer
  109. Explain Event handling in AWT
  110. What are ER diagrams
  111. What is the default modifier in Interface
  112. What are Checked & Unchecked exceptions
  113. Does java support multi dimensional arrays
  114. Difference between canvas class & graphics class
  115. Explain about Superclass and Subclass
  116. Can you declare a static variable in a method
  117. How the elements are organized in CardLayout
  118. How the elements are organized in GridLayout
  119. How to connect to a remote database using Applet
  120. What are parent methods and how can you call them
  121. How the elements are organized in BorderLayout
  122. Can applet in different pages communicate with each other
  123. Difference between Interface & Abstract class
  124. How GUI component handle its own events
  125. How are this() and super() used with constructors
  126. Can you call a constructor within a constructor
  127. What will happens if you opened Internet Explorer 4 times
  128. How the elements are organized in GridBagLayout
  129. Have you used any version control ? if so explain about it
  130. Can you run the product development on all operating systems
  131. Can an unreachable object become reachable again
  132. How you can create a radio button using Checkbox class
  133. Can you have an inner class inside a method and what variables can you access
  134. class be declared as implementing an interface and extending a class
  135. As a developer what steps do you take to improve the performance
  136. How are commas used in the initialization and iteration parts of a for statement
  137. Does garbage collection guarantee that a program will not run out of memory
  138. Without creating a new object, How you can retrieve a String or other object
  139. Can we declare variables inside a method as Final Variables
  140. How many address lines are required to addressing 1 MB memory
  141. How can you eliminate duplicates
  142. How to find the length and capacity of a string buffer
  143. How to implement a multithreaded applet
  144. Can an object be garbage collected while it is still reachable
  145. Can an object?s finalize() method be invoked while it is reachable
  146. How to print nodes of a Binary tree
  147. How to transfer data from an Applet to Servlet
  148. How can you reverse a string
  149. How can you take string into InputStream
  150. How applets will communicate with each other
  151. How to add panel to a Frame
  152. How to prevent a field from serialization
  153. What method is used to compare two strings
  154. How to know the host from which Applet is originated
  155. How can a class be accessed, If no access modifiers are declared
  156. How to access a method that it declared as protected
  157. How to access a variable if it is declared as private
  158. How to re-get an object that is collected by garbage collector
  159. How to display names of all components in a Container
  160. What are Inner classes
  161. Is 'null' a keyword
  162. Is 'sizeof' a keyword
  163. Is &&= a valid Java operator
  164. Can a double value be cast to a byte
  165. Can a Byte object be cast to a double value
  166. What is static binding and where it occurs
  167. what is the package of most the AWT event that support
  168. Does any tag exists in HTML to upload and download files
  169. Can you give names of Container classes
  170. nested try statements are possible
  171. Is multiple inheritance allowed in Java? Why
  172. What classes can be used to store arbitrary number of objects
  173. How many times garbage collector will invoke an object?s finalize() method
  174. A class can be a subclass of itself
  175. Are there any tools available in java to create reports
  176. Explain Connection Pooling
  177. What are the names of Component subclasses that support painting
  178. What are the sub-classes of a component class
  179. Name two subclasses of the TextComponent class
  180. Explain Public static void main
  181. What is file class and what is its purpose
  182. What is Remote Reference Layer
  183. What are the names of interfaces that doesn't consists of methods
  184. What are primitive Java types? How many are they and what are their names
  185. What we have to do, when we don't want to implement all methods of an interface
  186. Can a for statement loop indefinitely
  187. What is the form of storage space in java
  188. What are the latest versions in JAVA related areas
  189. What is the minimum and maximum length of an identifier
  190. What class is used to implement a Throwable array
  191. What is the default initialized value of String type variable
  192. What is the default initialized value of a Boolean type variable
  193. When garbage collector invokes object?s finalize() method
  194. How Applets & Servlets will communicate with each other
  195. How do you compare two strings? any predefined method for this
  196. How do you load an HTML page from an Applet
  197. What are the differences between Java 1.0 and Java 2.0
  198. How is rounding performed under integer division
  199. What is "finally" keyword
  200. What is hypertext
  201. What is interface and its use
  202. What is 'finally' method in Exceptions
  203. What are blocks
  204. How to do validation of the fields in any project
  205. What is the Use of throws exception
  206. What are access modifiers in Java
  207. Different types of Layouts
  208. Methods in Applet
  209. Different types of modifiers
  210. Name the packages in JDK
  211. What are E and PI
  212. What are virtual methods
  213. What is Vector class
  214. What are other modifiers
  215. What are the operands of instanceof operator
  216. What are packages and name a few
  217. What are listeners in java and explain
  218. What are Access Specifiers and Access Modifiers
  219. What are advantages of using Java?s layout managers than windowing systems
  220. What method is used to know the status of Checkbox
  221. What are the interfaces defined by Java.lang package
  222. What are the Object and Class that classes used for
  223. What are command line arguments
  224. How this statement determine which catch clause should be used to handle an exception
  225. How many bits are allocated to represent character sets Unicode, ASCII,UTF-16,UTF-8
  226. What are order of precedence and associativity, and how are they used
  227. What are the advantages of the model over the event- inheritance model
  228. What are the common problems you have faced while implementing Java
  229. Name the components that are termed to be Heavy-weight component
  230. What are primitive data types in Java
  231. What problems will occur when you don?t use layout managers
  232. What are the limitations for static method
  233. What are the restrictions imposed by a Security Manager on Applets
  234. Name the runtime exceptions that occurs frequently
  235. types of applets
  236. Name the types of 'priority'
  237. What are virtual functions
  238. What are types of Java applications
  239. In what ways you can handle exception
  240. Name the types of mouse event listeners
  241. What are the traverses in Binary Tree
  242. What services that container provides
  243. What is an event
  244. What is an enumeration class
  245. What is an Iterator interface
  246. What is a void return type
  247. What is a stream? what are the different types and classes of Streams
  248. What is a serializable interface
  249. What is a reflection package
  250. What is a native method