Organizational Research By

Surprising Reserch Topic

Question:Any questions to ask prospective Junior java developers?



asked Sep 13, 2013 in J2EE by rajesh
edited Sep 12, 2013
0 votes
27 views



Related Hot Questions

16 Answers

0 votes

Here are some precise questions you may be asked, pick and choose the ones that seem relevant!

  • OO Concepts
    What is a strongly typed language?
    What is OO?
    Give a few reasons for using Java?
    Is java a pure object-oriented language?
    Why Java doesn’t support multiple inheritances?
    What is JVM?
    What is JRE?
    What is the advantage of OO principles?
    What is “coupling”?
    What is “low coupling”?
    What is “decoupling”?
    Why would you want to “decouple”?
    What is “cohesion”?
    What are the four pillars of OO?
    What is inheritance?
    What is polymorphism?
    Can you identify different sub categories of polymorphism?
    Why do you use polymorphism?
    What is abstraction?
    Why do you use abstraction?
    What is Encapsulation?
    What’s the difference between constructors and methods?
    What is constructor chaining?
    What do we call a method signature?
    What is “overloading”?
    What is “overriding”?
    What is the limitation involved when overriding?
    What is the difference between an argument and a parameter?
    What is pass (or call) by reference?
    What is call (or pass) by value?
     
  • Design Patterns and UML
    Can you draw a UML Class Diagram for ...(describe a quick system/design)?
    What are “design patterns”?
    Which one do you know? Tell me about them?
    What is dependency injection?
    Give a conceptual definition for dependency injection?
    What is MVC?
    Why do we use MVC?
    Can you draw a schema of the interactions between each entity in MVC?
    Can you give examples where MVC is used?
    What is the singleton pattern?
    Can you give an example of use of the singleton pattern?
    How do you program the singleton pattern?
    What would you do to protect the static method to create concurrency problem?
    What is the factory pattern?
    Can you draw a UML diagram of the Factory pattern?
    Can you give an example of use of the factory pattern?
    How do you program the factory pattern?
    What is the Abstract Factory pattern?
    Can you draw a UML diagram of the Abstract Factory pattern?
    Can you give an example of use of the Abstract Factory pattern?
    How do you program the Abstract Factory pattern?
    What is the Adapter pattern?
    Can you draw a UML diagram of the Adapter pattern?
    Can you give an example of use of the Adapter pattern?
    How do you program the Adapter pattern?
    What is Composite pattern?
    Can you draw a UML diagram of the Composite pattern?
    Can you give an example of use of the Composite pattern?
    How do you program the Composite pattern?
    What is Mediator pattern?
    Can you draw a UML diagram of the Mediator pattern?
    Can you give an example of use of the Mediator pattern?
    How do you program the Composite pattern?
    What is the Proxy pattern?
    Can you draw a UML diagram of the Proxy pattern?
    Can you give an example of use of the Proxy pattern?
    How do you program the Proxy pattern?
    What is the Observer pattern?
    Can you draw a UML diagram of the Observer pattern?
    Can you give an example of use of the Observer pattern?
    How do you program the Observer pattern?
    What is the Command pattern?
    Can you draw a UML diagram of the Command pattern?
    Can you give an example of use of the Command pattern?
    How do you program the Command pattern?
     
  • Other Programming Concepts
    What is CVS/Git/Subversion? Why we use it what are the benefits?
    What is a test case/suite?
    Why would you use design patterns in test suites?
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes

In my experience you might expect these questions:

  • Core Java questions (of course, Collection framework & so on)
  • J2EE questions (if relevant to the job)
  • Java Frameworks questions (if relevant to the job, ie. Spring, Hibernate & so on)
  • OO concepts questions
  • Design Patterns you know (and provide an example of usage)?
  • Testing: what type of tests do you know? talk about them (Unit, Integration, Performance testing?)
  • Write basic SQL queries (DDL & DML usually & joins)
  • Database design (draw an ERD when presented a basic spec)
  • Talk about a project you enjoyed or are proud of
  • Unix questions (if relevant to the job)
  • Maybe write some code, usually asked in a "good" interview
  • Multiple choice java test (quite common as easy to mark)
  • Soft skills questions (why this job? why this company? what would your friends/colleagues say about you? ... & so on)
  • Do you have any questions? Try to come up with something interesting that can give you a good idea of your future job and lead to a conversation maybe (ie. What do you expect me to accomplish in the first 60 to 90 days? What are the reasons for the vacancy (Expanding team or replacing someone)? What is the main concern of client (or business owner)? )
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes

In my experience you might expect these questions:

  • Core Java questions (of course, Collection framework & so on)
  • J2EE questions (if relevant to the job)
  • Java Frameworks questions (if relevant to the job, ie. Spring, Hibernate & so on)
  • OO concepts questions
  • Design Patterns you know (and provide an example of usage)?
  • Testing: what type of tests do you know? talk about them (Unit, Integration, Performance testing?)
  • Write basic SQL queries (DDL & DML usually & joins)
  • Database design (draw an ERD when presented a basic spec)
  • Talk about a project you enjoyed or are proud of
  • Unix questions (if relevant to the job)
  • Maybe write some code, usually asked in a "good" interview
  • Multiple choice java test (quite common as easy to mark)
  • Soft skills questions (why this job? why this company? what would your friends/colleagues say about you? ... & so on)
  • Do you have any questions? Try to come up with something interesting that can give you a good idea of your future job and lead to a conversation maybe (ie. What do you expect me to accomplish in the first 60 to 90 days? What are the reasons for the vacancy (Expanding team or replacing someone)? What is the main concern of client (or business owner)? )


 

answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes
  • CORE JAVA
     
  • Miscellaneous
    Does Java call by reference?
    Why did the Sun engineers decided to make Java only call by value?
    How do you fake call by reference in Java, or more precisely, how can a callee influence the values of its caller’s variables?
    What are the use of this and super keywords?
    What is a class?
    What is a concrete class?
    What is an abstract class?
    What is an interface?
    What are the specificities of an interface? What are the differences with an abstract class?
    What are the limitations imposed by interfaces?
    Why an interface has its variables marked final and static?
    What is a marker interface?
    Why would you use an abstract class or interface?
    Why interface attributes are static final?
    What are the differences between 1.4 and 1.5?
    Can an application have multiple classes having main method?
    Can you explain the usage of Java packages?
    Can I import same package/class twice? Will the JVM load the package twice at runtime?
    What are the different access levels in java?
    What are class variables and instance variables?
    Do you have to initialize instance variables? And local variables? If yes, what happens if you don’t?
    What are the default values of instance variables for primitives and reference types?
    What are the different scopes for Java variables?
    What is lazy instantiation (or lazy initialization)?
    Why would you use lazy initialization?
    What is “lazy evaluation”?
    What is “eager” or “greedy evaluation”?
    What is static in java?
    How can one prove that the array is not null but empty using one line of code?
    What are wrapper classes?
    Why do we need wrapper classes?
    What is autoboxing?
    When should you use autoboxing and unboxing?
    What is the Locale Class?
    What are the Object class methods?
    What’s the difference between “==” and “equals()” method?
    What does equals do by default?
    What are “accessors” and “mutators”? How do you use them?
    What is the difference between StringBuffer and String class?
    How does String work “behind the scene”?
    Why would you use “StringBuffer” instead of normal “String”?
    What’s the difference between “==” and “equals” method with strings?
    What is an immutable object?
    Give example of immutable classes in Java?
    How would you make your own immutable class?
    Why and how would you return an Immutable result from a method?
    Why would you make an object Immutable?
    How would you make a copy of an entire Java object with its state?
    What is Cloneable?
    Why would you clone an object?
    What does the default protected clone do?
    What is a shallow copy?
    How would you make a copy of an entire Java object with its state if it is not “Cloneable”?
    What is a deep copy?
    What is deep and shallow clone? What is the difference with deep and shallow copy?
    What is the difference between final, finally and finalize? Define them?
    Can finalize be called several time by the garbage collector?
    Why would you mark a class abstract and final?
    What is a ternary Condition in java? Write an example
    Why would you use ternary condition statement?
    Can you write examples of the use of ternary condition?
     
  • Strings
    What are “String Literals” and “String Constant Expression”?
    Write a class to count occurrences of one string in another string?
    Given a string, find its first non-repeating character?
    Garbage Collection
    What is the purpose of garbage collection in Java? When is it used? Describe, in general, how it works?
    Do you know more details about the garbage collector?
    What is a “reference object”?
    What are the different types of reference object? What do they define?
    What is a “strong reference”?
    What is a “soft reference”?
    What is a “weak reference”?
    What is a “weakly reachable reference”?
    What is a “phantom reference”?
    What is the difference between “soft” and “weak” reference?
     
  • Enums
    What is an “enum”?
    What are the methods defined in enum class?
    Give an example where you would use an enum?
    Why? What are the advantages of enum?
    What are the disadvantages of enum?
    Java collection framework
    What is a collection?
    Draw the structure of the core collection framework interfaces?
    Can you name some of the key classes in the collection framework?
    How does the java core collection framework works?
    What are the pros of the collection framework?
    Does the collection interface extends any interface?
    What is an enumeration?
    Does anything implements the Collection?
    How does the Collections class works?
    Can you name a few static methods of the Collections class?
    Can you name a few methods declared in the Collection interface?
    How does the Arrays class works?
    How to convert an array to a list?
    How to convert an array to an arrayList?
    Can you name a few static method of the Arrays class?
    What is a Map?
    How does the JVM fetch an object when get(keyObject) is called?
    What collection uses hashcode()?
    What are the 5 rules when you override hashcode?
    What are the highlights of the equals() contract?
    Can you override hashcode method and leave equals method? And vice versa?
    If you override equals method without overriding hashcode, what could happen?
    What is the default implementation of equals(objectPassed) method in the object class?
    What is the default implementation of hashcode() method in the object class?
    What is the difference between Hashtable vs HashMap?
    What is the difference between a Vector and an ArrayList? Discuss the advantages and disadvantages of both?
    What “ordered collection” means?
    What “sorted collection” means?
    How do you sort collections?
    How does “compareTo” works?
    How does the Comparator interface works?
    What is the difference between Comparator and Comparable?
    Why would you use Comparator?
    How does the “compareTo” method works?
    How does HashSet works?
    How does this collection know if 2 object are duplicates?
    How does TreeSet works?
     
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes
  • CORE JAVA
     
  • Miscellaneous
    Does Java call by reference?
    Why did the Sun engineers decided to make Java only call by value?
    How do you fake call by reference in Java, or more precisely, how can a callee influence the values of its caller’s variables?
    What are the use of this and super keywords?
    What is a class?
    What is a concrete class?
    What is an abstract class?
    What is an interface?
    What are the specificities of an interface? What are the differences with an abstract class?
    What are the limitations imposed by interfaces?
    Why an interface has its variables marked final and static?
    What is a marker interface?
    Why would you use an abstract class or interface?
    Why interface attributes are static final?
    What are the differences between 1.4 and 1.5?
    Can an application have multiple classes having main method?
    Can you explain the usage of Java packages?
    Can I import same package/class twice? Will the JVM load the package twice at runtime?
    What are the different access levels in java?
    What are class variables and instance variables?
    Do you have to initialize instance variables? And local variables? If yes, what happens if you don’t?
    What are the default values of instance variables for primitives and reference types?
    What are the different scopes for Java variables?
    What is lazy instantiation (or lazy initialization)?
    Why would you use lazy initialization?
    What is “lazy evaluation”?
    What is “eager” or “greedy evaluation”?
    What is static in java?
    How can one prove that the array is not null but empty using one line of code?
    What are wrapper classes?
    Why do we need wrapper classes?
    What is autoboxing?
    When should you use autoboxing and unboxing?
    What is the Locale Class?
    What are the Object class methods?
    What’s the difference between “==” and “equals()” method?
    What does equals do by default?
    What are “accessors” and “mutators”? How do you use them?
    What is the difference between StringBuffer and String class?
    How does String work “behind the scene”?
    Why would you use “StringBuffer” instead of normal “String”?
    What’s the difference between “==” and “equals” method with strings?
    What is an immutable object?
    Give example of immutable classes in Java?
    How would you make your own immutable class?
    Why and how would you return an Immutable result from a method?
    Why would you make an object Immutable?
    How would you make a copy of an entire Java object with its state?
    What is Cloneable?
    Why would you clone an object?
    What does the default protected clone do?
    What is a shallow copy?
    How would you make a copy of an entire Java object with its state if it is not “Cloneable”?
    What is a deep copy?
    What is deep and shallow clone? What is the difference with deep and shallow copy?
    What is the difference between final, finally and finalize? Define them?
    Can finalize be called several time by the garbage collector?
    Why would you mark a class abstract and final?
    What is a ternary Condition in java? Write an example
    Why would you use ternary condition statement?
    Can you write examples of the use of ternary condition
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes
Generics
What are generics?
Why generics?
What “extends” means when declaring generics?
How can you declare the use of generics?
Write 2 examples without the wildcard, explain them?
What is the difference in using a “wildcard” in your method argument compare to not using one?
Why would you choose to use or not use wildcard?
Keywords, literals and uncommon terms
What does “strictfp” means?
What does “native” means?
What does “shadowing” means?
Is “null” a keyword?
What is a “delegate”?
Errors and Exceptions
What is the hierarchy under the Throwable class?
What are the differences between checked and unchecked exceptions?
Is Class Error unchecked or checked?
Can you handle errors?
Can you tell me more about unchecked exceptions?
Can you tell me more about checked exceptions?
Does the RuntimeException class extend Throwable class?
Can you tell me more about Error Subclasses?
If I write return at the end of the try block, will the finally block still execute?
If I write System.exit (0); at the end of the try block, will the finally block still execute?
Does it matter in what order catch statements for FileNotFoundException and IOExceptipon are written?
How could Java classes direct program messages to the system console, but error messages, say to a file?
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes
  • CORE JAVA
     
  • Miscellaneous
    Does Java call by reference?
    Why did the Sun engineers decided to make Java only call by value?
    How do you fake call by reference in Java, or more precisely, how can a callee influence the values of its caller’s variables?
    What are the use of this and super keywords?
    What is a class?
    What is a concrete class?
    What is an abstract class?
    What is an interface?
    What are the specificities of an interface? What are the differences with an abstract class?
    What are the limitations imposed by interfaces?
    Why an interface has its variables marked final and static?
    What is a marker interface?
    Why would you use an abstract class or interface?
    Why interface attributes are static final?
    What are the differences between 1.4 and 1.5?
    Can an application have multiple classes having main method?
    Can you explain the usage of Java packages?
    Can I import same package/class twice? Will the JVM load the package twice at runtime?
    What are the different access levels in java?
    What are class variables and instance variables?
    Do you have to initialize instance variables? And local variables? If yes, what happens if you don’t?
    What are the default values of instance variables for primitives and reference types?
    What are the different scopes for Java variables?
    What is lazy instantiation (or lazy initialization)?
    Why would you use lazy initialization?
    What is “lazy evaluation”?
    What is “eager” or “greedy evaluation”?
    What is static in java?
    How can one prove that the array is not null but empty using one line of code?
    What are wrapper classes?
    Why do we need wrapper classes?
    What is autoboxing?
    When should you use autoboxing and unboxing?
    What is the Locale Class?
    What are the Object class methods?
    What’s the difference between “==” and “equals()” method?
    What does equals do by default?
    What are “accessors” and “mutators”? How do you use them?
    What is the difference between StringBuffer and String class?
    How does String work “behind the scene”?
    Why would you use “StringBuffer” instead of normal “String”?
    What’s the difference between “==” and “equals” method with strings?
    What is an immutable object?
    Give example of immutable classes in Java?
    How would you make your own immutable class?
    Why and how would you return an Immutable result from a method?
    Why would you make an object Immutable?
    How would you make a copy of an entire Java object with its state?
    What is Cloneable?
    Why would you clone an object?
    What does the default protected clone do?
    What is a shallow copy?
    How would you make a copy of an entire Java object with its state if it is not “Cloneable”?
    What is a deep copy?
    What is deep and shallow clone? What is the difference with deep and shallow copy?
    What is the difference between final, finally and finalize? Define them?
    Can finalize be called several time by the garbage collector?
    Why would you mark a class abstract and final?
    What is a ternary Condition in java? Write an example
    Why would you use ternary condition statement?
    Can you write examples of the use of ternary condition?
     
  • Strings
    What are “String Literals” and “String Constant Expression”?
    Write a class to count occurrences of one string in another string?
    Given a string, find its first non-repeating character?
    Garbage Collection
    What is the purpose of garbage collection in Java? When is it used? Describe, in general, how it works?
    Do you know more details about the garbage collector?
    What is a “reference object”?
    What are the different types of reference object? What do they define?
    What is a “strong reference”?
    What is a “soft reference”?
    What is a “weak reference”?
    What is a “weakly reachable reference”?
    What is a “phantom reference”?
    What is the difference between “soft” and “weak” reference?
     
  • Enums
    What is an “enum”?
    What are the methods defined in enum class?
    Give an example where you would use an enum?
    Why? What are the advantages of enum?
    What are the disadvantages of enum?
    Java collection framework
    What is a collection?
    Draw the structure of the core collection framework interfaces?
    Can you name some of the key classes in the collection framework?
    How does the java core collection framework works?
    What are the pros of the collection framework?
    Does the collection interface extends any interface?
    What is an enumeration?
    Does anything implements the Collection?
    How does the Collections class works?
    Can you name a few static methods of the Collections class?
    Can you name a few methods declared in the Collection interface?
    How does the Arrays class works?
    How to convert an array to a list?
    How to convert an array to an arrayList?
    Can you name a few static method of the Arrays class?
    What is a Map?
    How does the JVM fetch an object when get(keyObject) is called?
    What collection uses hashcode()?
    What are the 5 rules when you override hashcode?
    What are the highlights of the equals() contract?
    Can you override hashcode method and leave equals method? And vice versa?
    If you override equals method without overriding hashcode, what could happen?
    What is the default implementation of equals(objectPassed) method in the object class?
    What is the default implementation of hashcode() method in the object class?
    What is the difference between Hashtable vs HashMap?
    What is the difference between a Vector and an ArrayList? Discuss the advantages and disadvantages of both?
    What “ordered collection” means?
    What “sorted collection” means?
    How do you sort collections?
    How does “compareTo” works?
    How does the Comparator interface works?
    What is the difference between Comparator and Comparable?
    Why would you use Comparator?
    How does the “compareTo” method works?
    How does HashSet works?
    How does this collection know if 2 object are duplicates?
    How does TreeSet works
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes
Compare and contrast (don't you love that phrase?) the modifiers public, private, protected and default.

Compare an interface to an abstract class and give an example of when you might use one of each.

What does the modifier final mean to a class and a variable?

What is overloading and why might you use it?

What is garbage collection and how does it work in java?

How do you make a Thread in java?

Write a generic main method and explain what each item in the method signature means.

Explain how try/catch/throw/finally work.

What is an Iterator and how do you use it?

What are generics?

Are these lines of code valid and describe why or why not:
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes
Generics
What are generics?
Why generics?
What “extends” means when declaring generics?
How can you declare the use of generics?
Write 2 examples without the wildcard, explain them?
What is the difference in using a “wildcard” in your method argument compare to not using one?
Why would you choose to use or not use wildcard?
Keywords, literals and uncommon terms
What does “strictfp” means?
What does “native” means?
What does “shadowing” means?
Is “null” a keyword?
What is a “delegate”?
Errors and Exceptions
What is the hierarchy under the Throwable class?
What are the differences between checked and unchecked exceptions?
Is Class Error unchecked or checked?
Can you handle errors?
Can you tell me more about unchecked exceptions?
Can you tell me more about checked exceptions?
Does the RuntimeException class extend Throwable class?
Can you tell me more about Error Subclasses?
If I write return at the end of the try block, will the finally block still execute?
If I write System.exit (0); at the end of the try block, will the finally block still execute?
Does it matter in what order catch statements for FileNotFoundException and IOExceptipon are written?
How could Java classes direct program messages to the system console, but error messages, say to a file?
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes

In my experience you might expect these questions:

  • Core Java questions (of course, Collection framework & so on)
  • J2EE questions (if relevant to the job)
  • Java Frameworks questions (if relevant to the job, ie. Spring, Hibernate & so on)
  • OO concepts questions
  • Design Patterns you know (and provide an example of usage)?
  • Testing: what type of tests do you know? talk about them (Unit, Integration, Performance testing?)
  • Write basic SQL queries (DDL & DML usually & joins)
  • Database design (draw an ERD when presented a basic spec)
  • Talk about a project you enjoyed or are proud of
  • Unix questions (if relevant to the job)
  • Maybe write some code, usually asked in a "good" interview
  • Multiple choice java test (quite common as easy to mark)
  • Soft skills questions (why this job? why this company? what would your friends/colleagues say about you? ... & so on)
  • Do you have any questions? Try to come up with something interesting that can give you a good idea of your future job and lead to a conversation maybe (ie. What do you expect me to accomplish in the first 60 to 90 days? What are the reasons for the vacancy (Expanding team or replacing someone)? What is the main concern of client (or business owner)? )
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes

In my experience you might expect these questions:

  • Core Java questions (of course, Collection framework & so on)
  • J2EE questions (if relevant to the job)
  • Java Frameworks questions (if relevant to the job, ie. Spring, Hibernate & so on)
  • OO concepts questions
  • Design Patterns you know (and provide an example of usage)?
  • Testing: what type of tests do you know? talk about them (Unit, Integration, Performance testing?)
  • Write basic SQL queries (DDL & DML usually & joins)
  • Database design (draw an ERD when presented a basic spec)
  • Talk about a project you enjoyed or are proud of
  • Unix questions (if relevant to the job)
  • Maybe write some code, usually asked in a "good" interview
  • Multiple choice java test (quite common as easy to mark)
  • Soft skills questions (why this job? why this company? what would your friends/colleagues say about you? ... & so on)
  • Do you have any questions? Try to come up with something interesting that can give you a good idea of your future job and lead to a conversation maybe (ie. What do you expect me to accomplish in the first 60 to 90 days? What are the reasons for the vacancy (Expanding team or replacing someone)? What is the main concern of client (or business owner)? )


 

answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes

Here are some precise questions you may be asked, pick and choose the ones that seem relevant!

  • OO Concepts
    What is a strongly typed language?
    What is OO?
    Give a few reasons for using Java?
    Is java a pure object-oriented language?
    Why Java doesn’t support multiple inheritances?
    What is JVM?
    What is JRE?
    What is the advantage of OO principles?
    What is “coupling”?
    What is “low coupling”?
    What is “decoupling”?
    Why would you want to “decouple”?
    What is “cohesion”?
    What are the four pillars of OO?
    What is inheritance?
    What is polymorphism?
    Can you identify different sub categories of polymorphism?
    Why do you use polymorphism?
    What is abstraction?
    Why do you use abstraction?
    What is Encapsulation?
    What’s the difference between constructors and methods?
    What is constructor chaining?
    What do we call a method signature?
    What is “overloading”?
    What is “overriding”?
    What is the limitation involved when overriding?
    What is the difference between an argument and a parameter?
    What is pass (or call) by reference?
    What is call (or pass) by value?
     
  • Design Patterns and UML
    Can you draw a UML Class Diagram for ...(describe a quick system/design)?
    What are “design patterns”?
    Which one do you know? Tell me about them?
    What is dependency injection?
    Give a conceptual definition for dependency injection?
    What is MVC?
    Why do we use MVC?
    Can you draw a schema of the interactions between each entity in MVC?
    Can you give examples where MVC is used?
    What is the singleton pattern?
    Can you give an example of use of the singleton pattern?
    How do you program the singleton pattern?
    What would you do to protect the static method to create concurrency problem?
    What is the factory pattern?
    Can you draw a UML diagram of the Factory pattern?
    Can you give an example of use of the factory pattern?
    How do you program the factory pattern?
    What is the Abstract Factory pattern?
    Can you draw a UML diagram of the Abstract Factory pattern?
    Can you give an example of use of the Abstract Factory pattern?
    How do you program the Abstract Factory pattern?
    What is the Adapter pattern?
    Can you draw a UML diagram of the Adapter pattern?
    Can you give an example of use of the Adapter pattern?
    How do you program the Adapter pattern?
    What is Composite pattern?
    Can you draw a UML diagram of the Composite pattern?
    Can you give an example of use of the Composite pattern?
    How do you program the Composite pattern?
    What is Mediator pattern?
    Can you draw a UML diagram of the Mediator pattern?
    Can you give an example of use of the Mediator pattern?
    How do you program the Composite pattern?
    What is the Proxy pattern?
    Can you draw a UML diagram of the Proxy pattern?
    Can you give an example of use of the Proxy pattern?
    How do you program the Proxy pattern?
    What is the Observer pattern?
    Can you draw a UML diagram of the Observer pattern?
    Can you give an example of use of the Observer pattern?
    How do you program the Observer pattern?
    What is the Command pattern?
    Can you draw a UML diagram of the Command pattern?
    Can you give an example of use of the Command pattern?
    How do you program the Command pattern?
     
  • Other Programming Concepts
    What is CVS/Git/Subversion? Why we use it what are the benefits?
    What is a test case/suite?
    Why would you use design patterns in test suites?
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes
  • CORE JAVA
     
  • Miscellaneous
    Does Java call by reference?
    Why did the Sun engineers decided to make Java only call by value?
    How do you fake call by reference in Java, or more precisely, how can a callee influence the values of its caller’s variables?
    What are the use of this and super keywords?
    What is a class?
    What is a concrete class?
    What is an abstract class?
    What is an interface?
    What are the specificities of an interface? What are the differences with an abstract class?
    What are the limitations imposed by interfaces?
    Why an interface has its variables marked final and static?
    What is a marker interface?
    Why would you use an abstract class or interface?
    Why interface attributes are static final?
    What are the differences between 1.4 and 1.5?
    Can an application have multiple classes having main method?
    Can you explain the usage of Java packages?
    Can I import same package/class twice? Will the JVM load the package twice at runtime?
    What are the different access levels in java?
    What are class variables and instance variables?
    Do you have to initialize instance variables? And local variables? If yes, what happens if you don’t?
    What are the default values of instance variables for primitives and reference types?
    What are the different scopes for Java variables?
    What is lazy instantiation (or lazy initialization)?
    Why would you use lazy initialization?
    What is “lazy evaluation”?
    What is “eager” or “greedy evaluation”?
    What is static in java?
    How can one prove that the array is not null but empty using one line of code?
    What are wrapper classes?
    Why do we need wrapper classes?
    What is autoboxing?
    When should you use autoboxing and unboxing?
    What is the Locale Class?
    What are the Object class methods?
    What’s the difference between “==” and “equals()” method?
    What does equals do by default?
    What are “accessors” and “mutators”? How do you use them?
    What is the difference between StringBuffer and String class?
    How does String work “behind the scene”?
    Why would you use “StringBuffer” instead of normal “String”?
    What’s the difference between “==” and “equals” method with strings?
    What is an immutable object?
    Give example of immutable classes in Java?
    How would you make your own immutable class?
    Why and how would you return an Immutable result from a method?
    Why would you make an object Immutable?
    How would you make a copy of an entire Java object with its state?
    What is Cloneable?
    Why would you clone an object?
    What does the default protected clone do?
    What is a shallow copy?
    How would you make a copy of an entire Java object with its state if it is not “Cloneable”?
    What is a deep copy?
    What is deep and shallow clone? What is the difference with deep and shallow copy?
    What is the difference between final, finally and finalize? Define them?
    Can finalize be called several time by the garbage collector?
    Why would you mark a class abstract and final?
    What is a ternary Condition in java? Write an example
    Why would you use ternary condition statement?
    Can you write examples of the use of ternary condition?
     
  • Strings
    What are “String Literals” and “String Constant Expression”?
    Write a class to count occurrences of one string in another string?
    Given a string, find its first non-repeating character?
    Garbage Collection
    What is the purpose of garbage collection in Java? When is it used? Describe, in general, how it works?
    Do you know more details about the garbage collector?
    What is a “reference object”?
    What are the different types of reference object? What do they define?
    What is a “strong reference”?
    What is a “soft reference”?
    What is a “weak reference”?
    What is a “weakly reachable reference”?
    What is a “phantom reference”?
    What is the difference between “soft” and “weak” reference?
     
  • Enums
    What is an “enum”?
    What are the methods defined in enum class?
    Give an example where you would use an enum?
    Why? What are the advantages of enum?
    What are the disadvantages of enum?
    Java collection framework
    What is a collection?
    Draw the structure of the core collection framework interfaces?
    Can you name some of the key classes in the collection framework?
    How does the java core collection framework works?
    What are the pros of the collection framework?
    Does the collection interface extends any interface?
    What is an enumeration?
    Does anything implements the Collection?
    How does the Collections class works?
    Can you name a few static methods of the Collections class?
    Can you name a few methods declared in the Collection interface?
    How does the Arrays class works?
    How to convert an array to a list?
    How to convert an array to an arrayList?
    Can you name a few static method of the Arrays class?
    What is a Map?
    How does the JVM fetch an object when get(keyObject) is called?
    What collection uses hashcode()?
    What are the 5 rules when you override hashcode?
    What are the highlights of the equals() contract?
    Can you override hashcode method and leave equals method? And vice versa?
    If you override equals method without overriding hashcode, what could happen?
    What is the default implementation of equals(objectPassed) method in the object class?
    What is the default implementation of hashcode() method in the object class?
    What is the difference between Hashtable vs HashMap?
    What is the difference between a Vector and an ArrayList? Discuss the advantages and disadvantages of both?
    What “ordered collection” means?
    What “sorted collection” means?
    How do you sort collections?
    How does “compareTo” works?
    How does the Comparator interface works?
    What is the difference between Comparator and Comparable?
    Why would you use Comparator?
    How does the “compareTo” method works?
    How does HashSet works?
    How does this collection know if 2 object are duplicates?
    How does TreeSet works?
     
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes
  • CORE JAVA
     
  • Miscellaneous
    Does Java call by reference?
    Why did the Sun engineers decided to make Java only call by value?
    How do you fake call by reference in Java, or more precisely, how can a callee influence the values of its caller’s variables?
    What are the use of this and super keywords?
    What is a class?
    What is a concrete class?
    What is an abstract class?
    What is an interface?
    What are the specificities of an interface? What are the differences with an abstract class?
    What are the limitations imposed by interfaces?
    Why an interface has its variables marked final and static?
    What is a marker interface?
    Why would you use an abstract class or interface?
    Why interface attributes are static final?
    What are the differences between 1.4 and 1.5?
    Can an application have multiple classes having main method?
    Can you explain the usage of Java packages?
    Can I import same package/class twice? Will the JVM load the package twice at runtime?
    What are the different access levels in java?
    What are class variables and instance variables?
    Do you have to initialize instance variables? And local variables? If yes, what happens if you don’t?
    What are the default values of instance variables for primitives and reference types?
    What are the different scopes for Java variables?
    What is lazy instantiation (or lazy initialization)?
    Why would you use lazy initialization?
    What is “lazy evaluation”?
    What is “eager” or “greedy evaluation”?
    What is static in java?
    How can one prove that the array is not null but empty using one line of code?
    What are wrapper classes?
    Why do we need wrapper classes?
    What is autoboxing?
    When should you use autoboxing and unboxing?
    What is the Locale Class?
    What are the Object class methods?
    What’s the difference between “==” and “equals()” method?
    What does equals do by default?
    What are “accessors” and “mutators”? How do you use them?
    What is the difference between StringBuffer and String class?
    How does String work “behind the scene”?
    Why would you use “StringBuffer” instead of normal “String”?
    What’s the difference between “==” and “equals” method with strings?
    What is an immutable object?
    Give example of immutable classes in Java?
    How would you make your own immutable class?
    Why and how would you return an Immutable result from a method?
    Why would you make an object Immutable?
    How would you make a copy of an entire Java object with its state?
    What is Cloneable?
    Why would you clone an object?
    What does the default protected clone do?
    What is a shallow copy?
    How would you make a copy of an entire Java object with its state if it is not “Cloneable”?
    What is a deep copy?
    What is deep and shallow clone? What is the difference with deep and shallow copy?
    What is the difference between final, finally and finalize? Define them?
    Can finalize be called several time by the garbage collector?
    Why would you mark a class abstract and final?
    What is a ternary Condition in java? Write an example
    Why would you use ternary condition statement?
    Can you write examples of the use of ternary condition?
     
  • Strings
    What are “String Literals” and “String Constant Expression”?
    Write a class to count occurrences of one string in another string?
    Given a string, find its first non-repeating character?
    Garbage Collection
    What is the purpose of garbage collection in Java? When is it used? Describe, in general, how it works?
    Do you know more details about the garbage collector?
    What is a “reference object”?
    What are the different types of reference object? What do they define?
    What is a “strong reference”?
    What is a “soft reference”?
    What is a “weak reference”?
    What is a “weakly reachable reference”?
    What is a “phantom reference”?
    What is the difference between “soft” and “weak” reference?
     
  • Enums
    What is an “enum”?
    What are the methods defined in enum class?
    Give an example where you would use an enum?
    Why? What are the advantages of enum?
    What are the disadvantages of enum?
    Java collection framework
    What is a collection?
    Draw the structure of the core collection framework interfaces?
    Can you name some of the key classes in the collection framework?
    How does the java core collection framework works?
    What are the pros of the collection framework?
    Does the collection interface extends any interface?
    What is an enumeration?
    Does anything implements the Collection?
    How does the Collections class works?
    Can you name a few static methods of the Collections class?
    Can you name a few methods declared in the Collection interface?
    How does the Arrays class works?
    How to convert an array to a list?
    How to convert an array to an arrayList?
    Can you name a few static method of the Arrays class?
    What is a Map?
    How does the JVM fetch an object when get(keyObject) is called?
    What collection uses hashcode()?
    What are the 5 rules when you override hashcode?
    What are the highlights of the equals() contract?
    Can you override hashcode method and leave equals method? And vice versa?
    If you override equals method without overriding hashcode, what could happen?
    What is the default implementation of equals(objectPassed) method in the object class?
    What is the default implementation of hashcode() method in the object class?
    What is the difference between Hashtable vs HashMap?
    What is the difference between a Vector and an ArrayList? Discuss the advantages and disadvantages of both?
    What “ordered collection” means?
    What “sorted collection” means?
    How do you sort collections?
    How does “compareTo” works?
    How does the Comparator interface works?
    What is the difference between Comparator and Comparable?
    Why would you use Comparator?
    How does the “compareTo” method works?
    How does HashSet works?
    How does this collection know if 2 object are duplicates?
    How does TreeSet works
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes
  • CORE JAVA
     
  • Miscellaneous
    Does Java call by reference?
    Why did the Sun engineers decided to make Java only call by value?
    How do you fake call by reference in Java, or more precisely, how can a callee influence the values of its caller’s variables?
    What are the use of this and super keywords?
    What is a class?
    What is a concrete class?
    What is an abstract class?
    What is an interface?
    What are the specificities of an interface? What are the differences with an abstract class?
    What are the limitations imposed by interfaces?
    Why an interface has its variables marked final and static?
    What is a marker interface?
    Why would you use an abstract class or interface?
    Why interface attributes are static final?
    What are the differences between 1.4 and 1.5?
    Can an application have multiple classes having main method?
    Can you explain the usage of Java packages?
    Can I import same package/class twice? Will the JVM load the package twice at runtime?
    What are the different access levels in java?
    What are class variables and instance variables?
    Do you have to initialize instance variables? And local variables? If yes, what happens if you don’t?
    What are the default values of instance variables for primitives and reference types?
    What are the different scopes for Java variables?
    What is lazy instantiation (or lazy initialization)?
    Why would you use lazy initialization?
    What is “lazy evaluation”?
    What is “eager” or “greedy evaluation”?
    What is static in java?
    How can one prove that the array is not null but empty using one line of code?
    What are wrapper classes?
    Why do we need wrapper classes?
    What is autoboxing?
    When should you use autoboxing and unboxing?
    What is the Locale Class?
    What are the Object class methods?
    What’s the difference between “==” and “equals()” method?
    What does equals do by default?
    What are “accessors” and “mutators”? How do you use them?
    What is the difference between StringBuffer and String class?
    How does String work “behind the scene”?
    Why would you use “StringBuffer” instead of normal “String”?
    What’s the difference between “==” and “equals” method with strings?
    What is an immutable object?
    Give example of immutable classes in Java?
    How would you make your own immutable class?
    Why and how would you return an Immutable result from a method?
    Why would you make an object Immutable?
    How would you make a copy of an entire Java object with its state?
    What is Cloneable?
    Why would you clone an object?
    What does the default protected clone do?
    What is a shallow copy?
    How would you make a copy of an entire Java object with its state if it is not “Cloneable”?
    What is a deep copy?
    What is deep and shallow clone? What is the difference with deep and shallow copy?
    What is the difference between final, finally and finalize? Define them?
    Can finalize be called several time by the garbage collector?
    Why would you mark a class abstract and final?
    What is a ternary Condition in java? Write an example
    Why would you use ternary condition statement?
    Can you write examples of the use of ternary condition
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013
0 votes
Compare and contrast (don't you love that phrase?) the modifiers public, private, protected and default.

Compare an interface to an abstract class and give an example of when you might use one of each.

What does the modifier final mean to a class and a variable?

What is overloading and why might you use it?

What is garbage collection and how does it work in java?

How do you make a Thread in java?

Write a generic main method and explain what each item in the method signature means.

Explain how try/catch/throw/finally work.

What is an Iterator and how do you use it?

What are generics?

Are these lines of code valid and describe why or why not:
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013

...