Interview Type of Questions - 2
- What is meant by Java ?
- What is meant by a class ?
- What is meant by a method ?
- What are the OOPS concepts in Java ?
- What is meant by encapsulation ? Explain with an example
- What is meant by inheritance ? Explain with an example
- What is meant by polymorphism ? Explain with an example
- Is multiple inheritance allowed in Java ? Why ?
- What is meant by Java interpreter ?
- What is meant by JVM ?
- What is a compilation unit ?
- What is meant by identifiers ?
- What are the different types of modifiers ?
- What are the access modifiers in Java ?
- What are the primitive data types in Java ?
- What is meant by a wrapper class ?
- What is meant by static variable and static method ?
- What is meant by Garbage collection ?
- What is meant by abstract class
- What is meant by final class, methods and variables ?
- What is meant by interface ?
- What is meant by a resource leak ?
- What is the difference between interface and abstract class ?
- What is the difference between public private, protected and static
- What is meant by method overloading ?
- What is meant by method overriding ?
- What is singleton class ?
- What is the difference between an array and a vector ?
- What is meant by constructor ?
- What is meant by casting ?
- What is the difference between final, finally and finalize ?
- What is meant by packages ?
- What are all the packages ?
- Name 2 calsses you have used ?
- Name 2 classes that can store arbitrary number of objects ?
- What is the difference between java.applet.* and java.applet.Applet ?
- What is a default package ?
- What is meant by a super class and how can you call a super class ?
- What is anonymous class ?
- Name interfaces without a method ?
- What is the use of an interface ?
- What is a serializable interface ?
- How to prevent field from serialization ?
- What is meant by exception ?
- How can you avoid the runtime exception ?
- What is the difference between throw and throws ?
- What is the use of finally ?
- Can multiple catch statements be used in exceptions ?
- Is it possible to write a try within a try statement ?
- What is the method to find if the object exited or not ?
- What is meant by a Thread ?
- What is meant by multi-threading ?
- What is the 2 way of creating a thread ? Which is the best way and why ?
- What is the method to find if a thread is active or not ?
- What are the thread-to-thread communcation ?
- What is the difference between sleep and suspend ?
- Can thread become a member of another thread ?
- What is meant by deadlock ?
- How can you avoid a deadlock ?
- What are the three typs of priority ?
- What is the use of synchronizations ?
- Garbage collector thread belongs to which priority ?
- What is meant by time-slicing ?
- What is the use of ‘this’ ?
- How can you find the length and capacity of a string buffer ?
- How to compare two strings ?
- What are the interfaces defined by Java.lang ?
- What is the purpose of run-time class and system class
- What is meant by Stream and Types ?
- What is the method used to clear the buffer ?
- What is meant by Stream Tokenizer ?
- What is serialization and de-serialisation ?
- What is meant by Applet ?
- How to find the host from which the Applet has originated ?
- What is the life cycle of an Applet ?
- How do you load an HTML page from an Applet ?
- What is meant by Applet Stub Interface ?
- What is meant by getCodeBase and getDocumentBase method ?
- How can you call an applet from a HTML file
- What is meant by Applet Flickering ?
- What is the use of parameter tag ?
- What is audio clip Interface and what are all the methods in it ?
- What is the difference between getAppletInfo and getParameterInfo ?
- How to communicate between applet and an applet ?
- What is meant by event handling ?
- What are all the listeners in java and explain ?
- What is meant by an adapter class ?
- What are the types of mouse event listeners ?
- What are the types of methods in mouse listeners ?
- What is the difference between panel and frame ?
- What is the default layout of the panel and frame ?
- What is meant by controls and types ?
- What is the difference between a scroll bar and a scroll panel.
- What is the difference between list and choice ?
- How to place a component on Windows ?
- What are the different types of Layouts ?
- What is meant by CardLayout ?
- What is the difference between GridLayout and GridBagLayout
- What is the difference between menuitem and checkboxmenu item.
- What is meant by vector class, dictionary class , hash table class,and
property class ?
- Which class has no duplicate elements ?
- What is resource bundle ?
- What is an enumeration class ?
- What is meant by Swing ?
- What is the difference between AWT and Swing ?
- What is the difference between an applet and a Japplet
- What are all the components used in Swing ?
- What is meant by tab pans ?
- What is the use of JTree ?
- How can you add and remove nodes in Jtree.
- What is the method to expand and collapse nodes in a Jtree ?
- What is the use of JTable ?
- What is meant by JFC ?
- What is the class in Swing to change the appearance of the Frame in
Runtime.
- How to reduce flicking in animation ?
- What is JDBC ?
- How do you connect to the database ? What are the steps ?
- What are the drivers available in JDBC ? Explain
- How can you load the driver ?
- What are the different types of statement s ?
- How can you created JDBC statements ?
- How will you perform transactions using JDBC ?
- What are the two drivers for web apllication?
- What are the different types of 2 tier and 3 tier architecture ?
- How can you retrieve warning in JDBC ?
- What is the exception thrown by JDBC ?
- What is meants by PreparedStatement ?
- What is difference between PreparedStatement and Statement ?
- How can you call the stored procedures ?
- What is meant by a ResultSet ?
- What is the difference between ExecuteUpdate and ExecuteQuery ?
- How do you know which driver is connected to a database ?
- What is DSN and System DSN and differentiate these two ?
- What is meant by TCP, IP, UDP ?
- What is the difference between TCP and UDP ?
- What is a proxy server ?
- What is meant by URL
- What is a socket and server sockets ?
- When MalformedURLException and UnknownHost Exception throws ?
- What is InetAddress ?
- What is datagram and datagram packets and datagram sockets ?
- Write the range of multicast socket IP address ?
- What is meant by a servlet ?
- What are the types of servlets ? Explain
- What is the different between a Servlet and a CGI.
- What is the difference between 2 types of Servlets ?
- What is the type of method for sending request from HTTP server ?
- What are the exceptions thrown by Servlets ? Why ?
- What is the life cycle of a servlet ?
- What is meant by cookies ?
- What is HTTP Session ?
- What is the difference between GET and POST methods ?
- How can you run a Servlet Program ?
- How to commuincate between an applet and a servlet ?
- What is a Servlet-to-Servlet communcation ?
- What is Session Tracking ?
- What are the security issues in Servlets ?
- What is HTTP Tunneling
- How do you load an image in a Servlet ?
- What is Servlet Chaining ?
- What is URL Rewriting ?
- What is context switching ?
- What is meant by RMI ?
- Explain RMI Architecture ?
- What is meant by a stub ?
- What is meant by a skelotn ?
- What is meant by serialisation and deserialisation ?
- What is meant by RRL ?
- What is the use of TL ?
- What is RMI Registry ?
- What is rmic ?
- How will you pass parameter in RMI ?
- What exceptions are thrown by RMI ?
- What are the steps involved in RMI ?
- What is meant by bind(), rebind(), unbind() and lookup() methods
- What are the advanatages of RMI ?
- What is JNI ?
- What is Remote Interface ?
- What class is used to create Server side object ?
- What class is used to bind the server object with RMI Registry ?
- What is the use of getWriter method ?
- What is meant by Javabeans ?
- What is JAR file ?
- What is meant by manifest files ?
- What is Introspection ?
- What are the steps involved to create a bean ?
- Say any two properties in Beans ?
- What is persistence ?
- What is the use of beaninfo ?
- What are the interfaces you used in Beans ?
- What are the classes you used in Beans ?
Author & Copyrights 2004: Narayanaswami Banukumar