Labels

.NET Job Questions About Java Absract class Abstract class Abstract Class and Interface Aggregation ajax aop apache ofbiz Apache ofbiz tutrial Association authentication autocad basics batch Binary Tree bootstrap loader in java build Builder design pattern C++ Job Questions caching CallableStatement in java certifications Chain of responsibility Design pattern charts check parentheses in a string Classes classloader in java classloading concept code quality collage level java program Composition concurrency Concurrency Tutorial Converting InputStream to String Core Java core java concept core java interview questions Core Java Interview Questions Core Java Questions core java tutorial CyclicBarrier in Java data structures database Database Job Questions datetime in c# DB Db2 SQL Replication deserialization in java Design Patterns designpatterns Downloads dtd Eclipse ejb example/sample code exception handling in core java file handling injava File I/O vs Memory-Mapped Filter first program in spring flex Garbage Collection Generics concept in java grails groovy and grails Guice Heap hibernate Hibernate Interview Questions how-to IBM DB2 IBM DB2 Tutorial ide immutable Interceptor Interface interview Interview Questions for Advanced JAVA investment bank j2ee java JAVA Code Examples Java 7 java changes java class loading JAVA Classes and Objects Java Classloader concept Java classloading concept java cloning concept java collection Java collection interview questions Java Collections java concurrency Java CountDownLatch java definiton Java design pattern Java EE 5 Java EE 6 Java Exceptions Java file Java Garbage Collection Java generics Java Glossary java hot concept java immutable concept Java Interface Java interview Question java interview question 2012 java interview question answer Java Interview Questions Java Interview Questions and Answers java interview topic java investment bank Java Job Questions java multithreading java multithreading concept java new features Java Packages java proxy object java questions Java Serialization Java serialization concept java serialization interview question java session concept java string Java Swings Questions java synchronization java threading Java Threads Questions java tutorial java util; java collections; java questions java volatile java volatile interview question Java Wrapper Classes java.java1.5 java.lang.ClassCastException JavaNotes javascript JAX-WS jdbc JDBC JDBC Database connection jdk 1.5 features JDK 1.5 new features Concurrent HashMap JMS interview question JMS tutorial job JSESSIONID concept JSESSIONID interview Question JSF jsp JSP Interview Question JSP taglib JSTL with JSP Junit Junit Concept Junit interview question.Best Practices to write JUnit test cases in Java JVM Linux - Unix tutorial Marker Interfaces MD5 encryption and decryption messaging MNC software java interview question musix NCR java interview question Networking Job Questions news Object Serialization Objects ojdbc14.jar OOP Oracle Oracle SQL Query for two timestamp difference orm own JavaScript function call in Apache ofbiz Packages Palm Apps patterns pdf persistence Portal Portlet Spring Integration Prime number test in java programs Rails Reboot remote computers REST Ruby Sample application schema SCJP security Senior java developer interviews servlet3 servlets session tracking singleton design pattern Spring Spring 2.5 Framework spring ebook Spring framework concept spring MVC spring pdf Spring Security Spring Security interview questions SQL SQL performance SQL Query to create xml file Sql Query tuning ssis and ssrs StAX and XML string concept string immutable string in java strings struts Struts2 Struts2 integration synchronization works in java Technical Interview testing tips Tomcat top Tutorial Volatile in deep Volatile working concept web Web Developer Job Questions web services weblogic Weblogic Application Server websphere what is JSESSIONID xml XML parsing in java XML with Java xslt


Sunday, 21 July 2013

Top 100 j2ee Questions


  1. How do I instantiate a bean whose constructor accepts parameters using the useBean tag?
  2. Replacing Characters in a String?
  3. Searching a String?
  4. Connecting to a Database and Strings Handling?
  5. What is a transient variable?
  6. What is the difference between Serializalble and Externalizable interface?
  7. How many methods in the Externalizable interface?
  8. How many methods in the Serializable interface?
  9. How to make a class or a bean serializable?
  10. What is the serialization?
  11. What are synchronized methods and synchronized statements?
  12. What is synchronization and why is it important?
  13. What is the purpose of finalization?
  14. What classes of exceptions may be caught by a catch clause?
  15. What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
  16. What happens when a thread cannot acquire a lock on an object?
  17. What restrictions are placed on method overriding?
  18. What restrictions are placed on method overloading?
  19. How does multithreading take place on a computer with a single CPU?
  20. How is it possible for two String objects with identical values not to be equal under the == operator?
  21. How are this() and super() used with constructors?
  22. What class allows you to read objects directly from a stream?
  23. What is the ResourceBundle class?
  24. What interface must an object implement before it can be written to a stream as an object?
  25. What is Serialization and deserialization?
  26. What are the Object and Class classes used for?
  27. Can you write Java code for declaration of multiple inheritance in Java ?
  28. What do you mean by multiple inheritance in C++ ?
  29. Write the Java code to declare any constant (say gravitational constant) and to get its value.
  30. What are the disadvantages of using threads?
  31. Given two tables Student(SID, Name, Course) and Level(SID, level) write the SQL statement to get the name and SID of the student who are taking course = 3 and at freshman level.
  32. What do you mean by virtual methods?
  33. What do you mean by static methods?
  34. What do mean by polymorphism, inheritance, encapsulation?
  35. What are the advantages of OOPL?
  36. How many methods do u implement if implement the Serializable Interface?
  37. Are there any other 'marker' interfaces?
  38. What is the difference between instanceof and isInstance?
  39. Why do you create interfaces, and when MUST you use one?
  40. What's the difference between the == operator and the equals() method? What test does Object.equals() use, and why?
  41. Discuss the differences between creating a new class, extending a class and implementing an interface; and when each would be appropriate.
  42. Given a text file, input.txt, provide the statement required
  43. Name four methods every Java class will have.
  44. What does the "abstract" keyword mean in front of a method? A class?
  45. Does Java have destructors?
  46. Are constructors inherited? Can a subclass call the parent's class constructor? When?
  47. What synchronization constructs does Java provide? How do they work?
  48. Why "bytecode"? Can you reverse-engineer the code from bytecode?
  49. Does Java have "goto"?
  50. What does the "final" keyword mean in front of a variable? A method? A class?
  51. Access specifiers: "public", "protected", "private", nothing?
  52. What is JDBC? Describe the steps needed to execute a SQL query using JDBC.
  53. What is RMI?
  54. What are native methods? How do you use them?
  55. What does the keyword "synchronize" mean in java. When do you use it? What are the disadvantages of synchronization?
  56. How many different types of JDBC drivers are present? Discuss them.
  57. What is the difference between a Vector and an Array. Discuss the advantages and disadvantages of both?
  58. Describe java's security model.
  59. Java says "write once, run anywhere". What are some ways this isn't quite true?
  60. What is the difference between an Applet and an Application?
  61. How can you force all derived classes to implement a method present in the base class?
  62. What are abstract classes, abstract methods?
  63. What's the difference between == and equals method?
  64. Describe, in general, how java's garbage collector works?
  65. What is the difference between StringBuffer and String class?
  66. How can you achieve Multiple Inheritance in Java?
  67. What are interfaces?
  68. What are the main differences between Java and C++?
  69. In Java, You can create a String object as: String str = "abc"; & String str = new String("abc"); Why cant a button object be created as : Button bt = "abc" Why is it compulsory to create a button object as: Button bt = new Button("abc"); Why is this not compulsory in String's case?
  70. Why are Java ARchive (JAR) files important?
  71. What is it reflection (introspection) ? Why is reflection possible in the Java language?
  72. How to make application thread-safe ?
  73. What is it object serialization?
  74. What do you know about networking support in Java?
  75. What you know about Corba implementation in Java?
  76. What is Java Beans?
  77. Compare SWING components to standard AWT.
  78. What is layout manager ? How does it work?
  79. What is the purpose of the toolkit in the Abstract Window Toolkit (AWT)? How does AWT work?
  80. What are the differences between Java & C++ in terms of its features?
  81. Is the ternary operator written x : y ? z or x ? y : z ?
  82. What is the List interface?
  83. What is the difference between an if statement and a switch statement?
  84. What are the problems faced by Java programmers who don't use layoutmanagers?
  85. What are the two basic ways in which classes that can be run as threads may be defined?
  86. What are synchronized methods and synchronized statements?
  87. Which Component subclass is used for drawing and painting?
  88. What methods are used to get and set the text label displayed by a Buttonobject?
  89. What method must be implemented by all threads?
  90. When is an object subject to garbage collection?
  91. Can an unreachable object become reachable again?
  92. How does a try statement determine which catch clause should be used tohandle an exception?
  93. What are the Object and Class classes used for?
  94. What modifiers may be used with a top-level class?
  95. What is a Java package and how is it used?
  96. What is the purpose of a statement block?
  97. What is the difference between the prefix and postfix forms of the ++ operator?
  98. Can try statements be nested?
  99. To what value is a variable of the boolean type automatically initialized?
  100. What is the difference between a public and a non-public class?

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...