Wednesday, January 14, 2009

Java Servlets jsp

Java Servlets jsp

v Can a main() method of class be invoked in another class?

v What is the difference between java command line arguments and C command line

arguments?

v What is the difference between == & .equals

v What is the difference between abstract class & Interface.

v What is singleton class & its implementation.

v Use of static, final variable

v Examples of final class

v Difference between Event propagation & Event delegation

v Difference between Unicast & Multicast model

v What is a java bean

v What is synchronized keyword used for.

v What are the restrictions of an applet & how to make the applet access the local machines

resources.

v What is reflecting package used for & the methods of it.

v What is serialization used for

v Can methods be overloaded based on the return types?

v Why do we need a finalize() method when Garbage Collection is there?

v Difference between AWT and Swing components?

v Is there any heavy weight component in Swings?

v Can the Swing application if you upload in net, be compatible with your browser?

v What should you do get your browser compatible with swing components?

v What are the methods in Applet?

v When is init(),start() called?

v When you navigate from one applet to another what are the methods called?

v What is the difference between Trusted and Untrusted Applet?

v What is Exception?

v What are the ways you can handle exception?

v When is try, catch block used?

v What is finally method in Exceptions?

v What are the types of access modifiers?

v What is protected and friendly?

v What are the other modifiers?

v Is synchronized modifier?

v What is meant by polymorphism?

v What is inheritance?

v What is method overloading?What is this in OOPS?

v What is method overriding?What is it in OOPS?

v Does java support multi dimensional arrays?

v Is multiple inheritances used in Java?

v How do you send a message to the browser in JavaScript?

v Does JavaScript support multidimensional arrays?

v Is there any tool in java that can create reports?

v What is meant by Java?

v What is meant by a class?

v What is meant by a method?

v What are the OOPS concepts in Java?

v What is meant by encapsulation? Explain with an example

v What is meant by inheritance? Explain with an example

v What is meant by polymorphism? Explain with an example

v Is multiple inheritances allowed in Java?Why?

v What is meant by Java interpreter?

v What is meant by JVM?

v What is a compilation unit?

v What is meant by identifiers?

v What are the different types of modifiers?

v What are the access modifiers in Java?

v What are the primitive data types in Java?

v What is meant by a wrapper class?

v What is meant by static variable and static method?

v What is meant by Garbage collection?

v What is meant by abstract class

v What is meant by final class, methods and variables?

v What is meant by interface?

v What is meant by a resource leak?

v What is the difference between interface and abstract class?

v What is the difference between public private, protected and static

v What is meant by method overloading?

v What is meant by method overriding?

v What is singleton class?

v What is the difference between an array and a vector?

v What is meant by constructor?

v What is meant by casting?

v What is the difference between final, finally and finalize?

v What is meant by packages?

v What are all the packages?

v Name 2 classes you have used?

v Name 2 classes that can store arbitrary number of objects?

v What is the difference between java. applet.* and java.applet.Applet?

v What is a default package?

v What is meant by a super class and how can you call a super class?

v What is anonymous class?

v Name interfaces without a method?

v What is the use of an interface?

v What is a serializable interface?

v How to prevent field from serialization?

v What is meant by exception?

v How can you avoid the runtime exception?

v What is the difference between throw and throws?

v What is the use of finally?

v Can multiple catch statements be used in exceptions?

v Is it possible to write a try within a try statement?

v What is the method to find if the object exited or not?

v What is meant by a Thread?

v What is meant by multi-threading?

v What is the 2 way of creating a thread?Which is the best way and why?

v What is the method to find if a thread is active or not?

v What are the thread-to-thread communication?

v What is the difference between sleep and suspend?

v Can thread become a member of another thread?

v What is meant by deadlock?

v How can you avoid a deadlock?

v What are the three types of priority?

v What is the use of synchronizations?

v Garbage collector thread belongs to which priority?

v What is meant by time-slicing?

v What is the use of 'this'?

v How can you find the length and capacity of a string buffer?

v How to compare two strings?

v What are the interfaces defined by Java.lang?

v What is the purpose of run-time class and system class

v What is meant by Stream and Types?

v What is the method used to clear the buffer?

v What is meant by Stream Tokenizer?

v What is serialization and de-serialization?

v What is meant by Applet?

v How to find the host from which the Applet has originated?

v What is the life cycle of an Applet?

v How do you load an HTML page from an Applet?

v What is meant by Applet Stub Interface?

v What is meant by getCodeBase and getDocumentBase method?

v How can you call an applet from a HTML file

v What is meant by Applet Flickering?

v What is the use of parameter tag?

v What is audio clip Interface and what are all the methods in it?

v What is the difference between getAppletInfo and getParameterInfo?

v How to communicate between applet and an applet?

v What is meant by event handling?

v What are all the listeners in java and explain?

v What is meant by an adapter class?

v What are the types of mouse event listeners?

v What are the types of methods in mouse listeners?

v What is the difference between panel and frame?

v What is the default layout of the panel and frame?

v What is meant by controls and types?

v What is the difference between a scroll bar and a scroll panel.

v What is the difference between list and choice?

v How to place a component onWindows?

v What are the different types of Layouts?

v What is meant by CardLayout?

v What is the difference between GridLayout and GridBagLayout

v What is the difference between menuitem and checkboxmenu item.

v What is meant by vector class, dictionary class , hash table class, and property class?

v Which class has no duplicate elements?

v What is resource bundle?

v What is an enumeration class?

v What is meant by Swing?

v What is the difference between AWT and Swing?

v What is the difference between an applet and a Japplet

v What are all the components used in Swing?

v What is meant by tab pans?

v What is the use of JTree?

v How can you add and remove nodes in Jtree.

v What is the method to expand and collapse nodes in a Jtree

v What is the use of JTable?

v What is meant by JFC?

v What is the class in Swing to change the appearance of the Frame in Runtime.

v How to reduce flicking in animation?

v What is meant by Javabeans?

v What is JAR file?

v What is meant by manifest files?

v What is Introspection?

v What are the steps involved to create a bean?

v Say any two properties in Beans?

v What is persistence?

v What is the use of beaninfo?

v What are the interfaces you used in Beans?

v What are the classes you used in Beans?

v What is the difference between an Abstract class and Interface

v What is user defined exception?

v What do you know about the garbate collector?

v What is the difference between C++ & Java?

v How do you communicate in between Applets & Servlets?

v What is the use of Servlets?

v In an HTML form I have a Button which makes us to open another page in 15 seconds. How

will do you that?

v What is the difference between Process and Threads?

v How will you initialize an Applet?

v What is the order of method invocation in an Applet?

v When is update method called?

v How will you communicate between two Applets?

v Have you ever used HashTable and Dictionary?

v What are statements in JAVA?

v What is JAR file?

v What is JNI?

v What is the base class for all swing components?

v What is JFC?

v What is Difference between AWT and Swing?

v 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?

v How does thread synchronization occurs inside a monitor?

v How will you call an Applet using a Java Script function?

v Is there any tag in HTML to upload and download files?

v Why do you Canvas?

v How can you push data from an Applet to Servlet?

v What are the benefits of Swing over AWT?

v Where the CardLayout is used?

v What is the Layout for ToolBar?

v What is the difference between Grid and GridbagLayout?

v How will you add panel to a Frame?

v What is the corresponding Layout for Card in Swing?

v What is light weight component?

v What is bean? Where it can be used?

v What is difference in between Java Class and Bean?

v What is the mapping mechanism used by Java to identify IDL language?

v Diff between Application and Applet?

v What is serializable Interface?

v What is the difference between CGI and Servlet?

v What is the use of Interface?

v Why Java is not fully objective oriented?

v Why does not support multiple Inheritance?

v What it the root class for all Java classes?

v What is polymorphism?

v Suppose if we have variable ' I ' in run method, if I can create one or more thread each

thread will occupy a separate copy or same variable will be shared?

v What is Constructor and Virtual function? Can we call Virtual

v Function in a constructor?

v Why we use OOPS concepts? What is its advantage?

v What is the difference in between C++ and Java? Can u explain in detail?

v What is the exact difference in between Unicast and Multicast object?Where we will use?

v How do you sing an Applet?

v In a Container there are 5 components. I want to display the all the components names, how

will you do that one?

v Why there are some null interface in java?What does it mean?

v Give me some null interfaces in JAVA?

v Tell me the latest versions in JAVA related areas?

v What is meant by class loader? How many types are there? When will we use them?

v What is meant by flickering?

v What is meant by cookies? Explain?

v Problem faced in your earlier project

v How OOPS concept is achieved in Java

v Features for using Java

v How does Java 2.0 differ from Java 1.0

v Public static void main - Explain

v What are command line arguments

v Explain about the three-tier model

v Difference between String & StringBuffer

v Wrapper class. Is String aWrapper Class

v What are the restriction for static method Purpose of the file class

v Default modifier in Interface

v Difference between Interface & Abstract class

v Can abstract be declared as Final

v Can we declare variables inside a method as Final Variables

v What is the package concept and use of package

v How can a dead thread be started

v Difference between Applet & Application

v Life cycle of the Applet

v Can Applet have constructors

v Difference between canvas class & graphics class

v Explain about Superclass & subclass

v What is AppletStub

v Explain Stream Tokenizer

v What is the difference between two types of threads

v Checked & Unchecked exception

v Use of throws exception

v What is finally in exception handling Vector class

v What will happen to the Exception object after exception handling

v Two types of multi-tasking

v Two ways to create the thread

v Synchronization

v I/O Filter

v Can applet in different page communicate with each other

v Why Java is not 100 % pure OOPS? ( EcomServer )

v When we will use an Interface and Abstract class?

v How to communicate 2 threads each other?

v What is the difference between Checked and Un Checked Exception?

v Diff between Vectors and Arrays?

v Diff between Vectors and Array List?

v What are Hash Map and Hash Map Table?

v What is polymorphism?

v What is diff between early and late binding?

v Can u have polymorphism besides implementing an interface?

v Diff between multitasking and multithreading?

v What are the two ways of creating and instantiating a thread?

v Diff between interfaces and abstract classes?

v When would you use an interface and when would u use an abstract class?

v Can an abstract class have all non-abstract methods defined in it? When would u use this?

Ans. Yes this is when u don’t want the class to be instantiated by other class.

v Can constructors be protected or private? Or without any access modifier?

v What are advantages of jdk1.4 over jdk1.1?

v What are short-circuit logical operators?

v What is multiple Inheritance?

v Why can we extend only one class at a time in java and implement various?

v What are inner classes? Y is the name given as inner classes?

v What are linked list?

v Define Overloading and overriding?

v What are static variables or objects?

v Define transient, volatile, synchronized and final class?

v How do u access database without using the Connection object?

No comments:

Post a Comment