Interview questions

JAVA interview questions – page 40

2,804 questions. Tap “Show answer” to check yourself.

  1. As the Swings have more advantages over the AWT.. Why still in market are they using AWTs?plzz..i want answer..in many interviews they asked me the same.

  2. Are there JavaBeans components available that I can buy today?

  3. What is the difference between the >> and >>> operators?

  4. What is difference between instance and object.?

  5. How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8characters?

  6. Can a for statement loop indefinitely?

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

  8. How can you force garbage collection?

  9. What are the similarities between an array and an Array List?

  10. How do you download stubs from a Remote place?

  11. Why Java is not fully object oriented?

  12. Is null a keyword

  13. 1)whether we can set the time implicitly for the garbage collection?

  14. Which component handles cluster communication in JBoss ?

  15. Explain the importance of "static"keyword

  16. What are the properties of java beans?

  17. How can we inherit the two independent classes in one class? for example, we have two independent classes like Class A and B. I want to inherit the methods of Class A and B.

  18. Explain Struts navigation flow?

  19. How to Synchronize the HashMap

  20. What method should the key class of hashmap override

  21. What is a tagged interface?

  22. What is the immediate superclass of Menu?

  23. What is the use of Interface?

  24. Is struts XHTML supportive?.What are the helper files in the form of JSPs available in struts? What is the difference between Struts 1.1, 1.2 and 1.3?

  25. What is Weak reference and Soft reference in java?

  26. What are order of precedence and associativity, and how are they used?

  27. How we can implement the constructer nesting in java

  28. What is main purpose of abstract class?

  29. How u can implement hashmap if u r not having in JAVA?

  30. What is the difference between an object and an instance? And give me a real time example to differentiate these two?

Companies that ask JAVA questions