Você está na página 1de 3

* As we know a static method could access static data and static method only .

Then how could main method call the object of a class which is not static and other non static data * Can an unreachable object become reachable again? * Can we add default constructor to Servlet? * Can we implement synchronization for handling multiple messages receiving through Mdb on message * Can we modify the data which are generated by the servlet * Can you use the two main method in same class? \How? * Difference between Encapsulation and Abstraction * Difference between jsp and java script? * Difference between println() and printf() * Explain prototype? * Explain spring framework? * Explain the project? * How ahstraction is the property of oops, this is also in c and c++ ex. Pri ntf function can also hide the unnecessary data, so what is the difference? And does c++ follow the abstraction? * How can connection with oracle10g with java * How do you pass data from one jsp to another jsp? * How many types of synchronization? * How the garbage collector know that the object will be deleted? On which a lgorithm the garbage collector works? What is the working principle of garbage c ollector? How many types of garbage collectors are there? * How to catch exception when executing a query in hibernate? * How to enable conection poole shrinking? * How to implement Thread * How to load a class programmatically? * How to pass session values from one servlet container to another servlet c ontainer? Or How can we get session values of one container in another container ? * How to reverse the singly linked list(In Node data members are(int data,in t pointertonext)) * How to run servlet program between two computer through internet ? * How to run servlet program between two computer through the internet ? * How to synchronize jsp page? * If I know the length of collection in hand, should I use Array or Arraylis t? Justify * If we use "private" in place of "public" in public static void main()... 2 .) If we use "int" in place of "void".... 3.) Can we omit "static" keyword from that statement.... 4.) Also can we give the command line arguments type as int t ype or float,etc.(.i.e (string args[])) * In an htm form we have a button which makes us to open another page in 15s ec.how will you do that? * In spring bean class uses singleton or prototype? * Java file without any source code is valid java file? * Java program that takes a 3 digit number n and finds out whether the numbe r 2^n + 1 is prime, or if it is not prime find out its factors. * Jsp life cycle? * Methods of spring? * Servlet life cycle? * Shall we use any name for deployment descriptor of struts instead of strut s-config.xml * String Reverse in Java...! * Suppose we have an interface & that interface contains five methods. If a class implements that interface then we have to bound that to give the definitio n of all five methods in that class. If we declare that class as abstract then c an we call only two methods to give the definition of that method & don't want t o give the definition of all the methods? Can it be possible * WAP to show inheritance and use of interface?

* What are design patterns in java? Give with example? * What are the diff types of exception? * What are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net * What are the oops concept? * What is a Daemon Thread?9754323968 * What is aggregation and composition ? * What is AOP(assepct oriented programing)? * What is connection pooling? What Method and class used for Connection pool ing in Java? * What is default layout of jframe class? * What is diff btwn JNDI&JDBC? * What is direct link to download swing ebook, applet, ejb, core java * What is gettemplete method and hw u use it? * What is IOC concept & explain it? * What is JVM ? * What is meant by Encapsulation? Explain with an example? * What is object type casting? Give some example with related? * What is orm? * What is race condition? (Threading concept) * What is synchronization?Write a program to show synchronization ? * What is the difference between application server and web server? * What is the difference between constructor and method? * What is the difference between dispatchaction and lookupdispatchaction? * What is the difference between Java Bean and Java Class.? * What is the difference between Logical Parallelism and Physical Parallelis m? * What is the difference between parameters and arguments ? * What is the difference between servlets and jsp? * What is the difference between the synchronized() & static synchronized()? * What is the meaning of java.lang and java.util? * What is the performance issue in weblogic and how can you resolve ,explain in brief * What is the purpose of a statement block? * What is the use of collections in java? How it is implemented in real time applications? * What is the use of static import ? * What is weblogic unicasting and multicasting? * When can an object reference be cast to an interface reference? * When we give definition of interface method in the class why method must b e public??? * When you declare a method as abstract method ? * Where exactly collections are usefull in realtime? * Which is the better collection class if the requirement is only displaying the data * Which one is more efficient int x; 1. If(x==null) 2.if(null==x) state whic h one either 1 or 2? * Why do we need public static void main(String args[]) method in Java...? * Why is java not 100% oops? * Why java is not a pure object oriented language? * Why java is platform independent? * Why JDBC has introduced * Why string is not taken as primitive datatypes but we take it as a class? Why explain it? * Why we write public static void main (String args[]) in core java? * Write a program that takes a 5 digit number and calculates 2 power that nu mber and prints it. * Write a query to join two tables? * Write a singleton program ? * Write javascript function?

Você também pode gostar