Frequently Asked Questions on – Java What is the difference - TopicsExpress



          

Frequently Asked Questions on – Java What is the difference between java command line arguments and C command line arguments? o What is the difference between == & .equals o What is the difference between abstract class & Interface. o What is singleton class & its implementation. o Use of static,final variable o Examples of final class o Difference between Event propagation & Event delegation o Difference between Unicast & Multicast model o What is a java bean o What is synchronized keyword used for. o What are the restrictions of an applet & how to make the applet access the local machines resources. o What is reflect package used for & the methods of it. o What is serialization used for o Can methods be overloaded based on the return types ? o Why do we need a finalze() method when Garbage Collection is there ? o Difference between AWT and Swing compenents ? o Is there any heavy weight component in Swings ? o Can the Swing application if you upload in net, be compatible with your browser? o What should you do get your browser compatible with swing components? o What are the methods in Applet ? o When is init(),start() called ? o When you navigate from one applet to another what are the methods called? o What is the difference between Trusted and Untrusted Applet ? o What is Exception ? o What are the ways you can handle exception ? o When is try,catch block used ? o What is finally method in Exceptions ? o What are the types of access modifiers ? o What is protected and friendly ? o What are the other modifiers ? o Is synchronised modifier ? o What is meant by polymorphism ? o What is inheritance ? o What is method Overloading ? What is this in OOPS ? o What is method Overriding ? What is it in OOPS ? o Does java support multi dimensional arrays ? o Is multiple inheritance used in Java ? o How do you send a message to the browser in JavaScript ? o Does javascript support multidimensional arrays ? o Is there any tool in java that can create reports ? o What is meant by Java ? o What is meant by a class ? o What is meant by a method ? o What are the OOPS concepts in Java ? o What is meant by encapsulation ? Explain with an example o What is meant by inheritance ? Explain with an example o What is meant by polymorphism ? Explain with an example o Is multiple inheritance allowed in Java ? Why ? o What is meant by Java interpreter ? o What is meant by JVM ? o What is a compilation unit ? o What is meant by identifiers ? o What are the different types of modifiers ? o What is meant by Garbage collection ? o What is meant by abstract class o What is meant by final class, methods and variables ? o What is meant by interface ? o What is meant by a resource leak ? o What is the difference between interface and abstract class ? o What is the difference between public private, protected and static o What is meant by method overloading ? o What is meant by method overriding ? o What is singleton class ? o What is the difference between an array and a vector ? o What is meant by constructor ? o What is meant by casting ? o What is the difference between final, finally and finalize ? o What is meant by packages ? o What are all the packages ? o Name 2 calsses you have used ? o Name 2 classes that can store arbitrary number of objects ? o What is the difference between java.applet.* and java.applet.Applet ? o What is a default package ? o What is meant by a super class and how can you call a super class ? o What is anonymous class ? o Name interfaces without a method ? o What is the use of an interface ? o What is a serializable interface ? o How to prevent field from serialization ? o What is meant by exception ? o How can you avoid the runtime exception ? o What is the difference between throw and throws ? o What is the use of finally ? o Can multiple catch statements be used in exceptions ? o Is it possible to write a try within a try statement ? o What is the method to find if the object exited or not ? o What is meant by a Thread ? o What is meant by multi-threading ? o What is the 2 way of creating a thread ? Which is the best way and why? o What is the method to find if a thread is active or not ? o What are the thread-to-thread communcation ? o What is the difference between sleep and suspend ? o Can thread become a member of another thread ? o What is meant by deadlock ? o How can you avoid a deadlock ? o What are the three typs of priority ? o What is the use of synchronizations ? o Garbage collector thread belongs to which priority ? o What is meant by time-slicing ? o What is the use of this ? o How can you find the length and capacity of a string buffer ? o How to compare two strings ? o What are the interfaces defined by Java.lang ? o What is the purpose of run-time class and system class o What is meant by Stream and Types ? o What is the method used to clear the buffer ? o What is meant by Stream Tokenizer ? o What is serialization and de-serialisation ? o What is meant by Applet ? o How to find the host from which the Applet has originated ? o What is the life cycle of an Applet ? o How do you load an HTML page from an Applet ? o What is meant by Applet Stub Interface ? o What is meant by getCodeBase and getDocumentBase method ? o How can you call an applet from a HTML file o What is meant by Applet Flickering ? o What is the use of parameter tag ? o What is audio clip Interface and what are all the methods in it ? o What is the difference between getAppletInfo and getParameterInfo ? o How to communicate between applet and an applet ? o What is meant by event handling ? o What are all the listeners in java and explain ? o What is meant by an adapter class ? o What are the types of mouse event listeners ? o What are the types of methods in mouse listeners ? o What is the difference between panel and frame ? o What is the default layout of the panel and frame ? o What is meant by controls and types ? o What is the difference between a scroll bar and a scroll panel. o What is the difference between list and choice ? o How to place a component on Windows ? o What are the different types of Layouts ? o What is meant by CardLayout ? o What is the difference between GridLayout and GridBagLayout o What is the difference between menuitem and checkboxmenu item. o What is meant by vector class, dictionary class , hash table class,and property class ? o Which class has no duplicate elements ? o What is resource bundle ? o What is an enumeration class ? o What is meant by Swing ? o What is the difference between AWT and Swing ? o What are all the components used in Swing ? o What is meant by tab pans ? o What is the use of JTree ? o How can you add and remove nodes in Jtree. o What is the method to expand and collapse nodes in a Jtree o What is the use of JTable ? o What is meant by JFC ? o What is the class in Swing to change the appearance of the Frame in Runtime. o How to reduce flicking in animation ? o What is meant by Javabeans ? o What is JAR file ? o What is meant by manifest files ? o What is Introspection ? o What are the steps involved to create a bean ? o Say any two properties in Beans ? o What is persistence ? o What is the use of beaninfo ? o What are the interfaces you used in Beans ? o What are the classes you used in Beans ? o What is the diffrence between an Abstract class and Interface o What is user defined exception ? o What do you know about the garbate collector ? o What is the difference between C++ & Java ? o How do you communicate in between Applets & Servlets ? o What is the use of Servlets ? o In an HTML form I have a Button which makes us to open another page in 15 seconds. How will do you that ? o What is the difference between Process and Threads ? o How will you initialize an Applet ? o What is the order of method invocation in an Applet ? o When is update method called ? o How will you communicate between two Applets ? o Have you ever used HashTable and Dictionary ? o What are statements in JAVA ? o What is JAR file ? o What is JNI ? o What is the base class for all swing components ? o What is JFC ? o What is Difference between AWT and Swing ? o Considering notepad/IE or any other thing as process, What will Happen if you start notepad or IE 3 times? Where 3 processes are started or 3 threads are started ? o How does thread synchronization occurs inside a monitor ? o How will you call an Applet using a Java Script function ? o Is there any tag in HTML to upload and download files ? o Why do you Canvas ? o What is Constructor and Virtual function? Can we call Virtual o Funciton in a constructor ? o Why we use OOPS concepts? What is its advantage ? o What is the difference in between C++ and Java ? can u explain in detail? o What is the exact difference in between Unicast and Multicast object ? Where we will use ? o How do you sing an Applet ? o In a Container there are 5 components. I want to display the all the components names, how will you do that one ? o Why there are some null interface in java ? What does it mean ? o Give me some null interfaces in JAVA ? o Tell me the latest versions in JAVA related areas ? o What is meant by class loader ? How many types are there? When will we use them ? o What is meant by flickering ? o What is meant by cookies ? Explain ? o Problem faced in your earlier project
Posted on: Wed, 29 Oct 2014 12:51:09 +0000

Trending Topics



Recently Viewed Topics




© 2015