General

Programming Resource Home :: Java-Tutorials :: General

Advertisement

Advertisement




General
Tutorial Java Interview Questions - Page 1
Java Interview Questions by Inigo Nirmal Question: Can a private method of a superclass be declared within a subclass? Answer: Sure. A private field or method or inner class belongs to its declared class and hides from its subclasses. There is no way fo View Rating



General
Tutorial Java Interview Questions - Page 12
Question: What is Serialization and deserialization? Answer: Serialization is the process of writing the state of an object to a byte stream. Deserialization is the process of restoring these objects. View Rating



General
Tutorial Java Interview Questions - Page 9
Question: Which package has light weight components? Answer: javax.Swing package. All components in Swing, except JApplet, JDialog, JFrame and JWindow are lightweight components. View Rating



General
Tutorial Java Interview Questions 3
Question: How many methods in the Serializable interface? Answer:There is no method in the Serializable interface. The Serializable interface acts as a marker, telling the object serialization tools that your class is serializable. View Rating



General
Tutorial Java Interview Questions - Page 4
Question: What are synchronized methods and synchronized statements? Answer: Synchronized methods are methods that are used to control access to an object. A thread only executes a synchronized method after it has acquired the lock for the method's obj View Rating



General
Tutorial Java Interview Questions - Page 2
Question: Parsers? DOM vs SAX parser Answer: parsers are fundamental xml components, a bridge between XML documents and applications that process that XML. The parser is responsible for handling xml syntax, checking the contents of the document against c View Rating



General
Tutorial Java Interview Questions - Page 5
Question: How to create multithread in a program? Answer: You have two ways to do so. First, making your class "extends" Thread class. Second, making your class "implements" Runnable interface. Put jobs in a run() method and call start() method to start View Rating



General
Tutorial J2EE Interview Questions
Question: What is J2EE? Answer: J2EE Stands for Java 2 Enterprise Edition. J2EE is an environment for developing and deploying enterprise applications. View Rating



General
Tutorial Java Interview Questions
Question: How can you write a loop indefinitely? Answer: for(;;)--for loop; while(true)--always true, etc. View Rating



General
Tutorial Java Interview Questions - Page 8
Question: What is the purpose of the finally clause of a try-catch-finally statement? Answer: The finally clause is used to provide the capability to execute code no matter whether or not an exception is thrown or caught. View Rating
Page:  [<<]   91   92   93   94   95   96   97   98   99   100   101   102   103   104   105   106   107   108   109   110   111   112   113   114   115   116   117   118   119   120   121   122   123   124   125   126   127   128   129   130   131   132   133   134   135   136   137   138   139   140   141   142   143   144   145   146   147   148   149   150   151   152   153   154   155   156   157   158   159   160   161   162   163   164   165   166   167   168   169   170   171   172   173   174   175   176   177   178   179   180   181   182   183   184   185   186   187   188   189   190   191     [>>]

Send your comments, Suggestions or Queries regarding this site at [email protected].

Copyright © 2004. All rights reserved.