web analytics
Google + RSS Feed

‘Core Java Interview Question and Answers’ Category

  1. Instance initializer block in Java

    0

    February 14, 2018 by admin

    Apart from methods and constructors, Initialization Blocks are the third place in a Java Program where operations can be performed. …
    keep reading


  2. What is java static import?

    0

    February 4, 2018 by admin

    By using static imports, we can import the static members from a class rather than the classes from a given …
    keep reading


  3. Difference between Iterator and ListIterator in java

    0

    January 22, 2018 by admin

    Iterator vs ListIterator 1) Iterator is used for traversing List and Set both. We can use ListIterator to traverse List only, we cannot traverse Set using ListIterator. 2) …
    keep reading


  4. what is the difference between local and instance variables in Java

    0

    January 19, 2018 by admin

    The main differences that I see are in their : Scope: Local variables are visible only in the method or block …
    keep reading


  5. Tight-coupling and Loose-coupling between objects

    0

    January 17, 2018 by admin

    Tight-coupling and Loose-coupling between objects Tight-Coupling:- 1.    While creating complex application in java, the logic of one class will call …
    keep reading


  6. Difference between Association, Composition and Aggregation in Java, UML and Object Oriented Programming

    0

    November 23, 2017 by admin

    Difference between Association, Composition and Aggregation in Java, UML and Object Oriented Programming In Object-oriented programming, one object is related …
    keep reading


  7. What is Aggregation in java?

    0

    November 23, 2017 by admin

    Aggregation is a special form of association. It is a relationship between two classes like association, however its a directional association, which means …
    keep reading


  8. Java interview programs

    0

    November 21, 2017 by admin

    Q1> Palindrome program that doesn’t consider spaces, punctuation, and uppercase and lowercase when determining whether a string is a palindrome. package …
    keep reading


  9. Copy Constructor in Java Example

    0

    November 14, 2017 by admin

    Copy Constructor in Java Example Sometimes a programmer wants to create an exact but separate copy of an existing object …
    keep reading


  10. Difference between abstract class and interface

    0

    November 10, 2017 by admin

    Difference between abstract class and interface Abstract class and interface both are used to achieve abstraction where we can declare …
    keep reading


  11. Java Thread By Implementing Runnable Interface

    0

    October 11, 2017 by admin

    A Thread can be created by extending Thread class also. But Java allows only one class to extend, it wont …
    keep reading


  12. Difference between Static and Dynamic binding in Java

    2

    May 7, 2014 by admin

    Difference between Static and Dynamic binding in Java: Difference between static and dynamic binding is a popular Java programming interview question which tries to …
    keep reading


  13. Difference Between Method Overloading and Method Overriding

    2

    February 23, 2014 by admin

    What is Method Overloading and Overriding in Java – Example Differences Tutorial What is method overloading and overriding in Java  …
    keep reading


  14. Important links related to code java interview questions and answers

    0

    February 17, 2014 by admin

    http://www.javatechinfo.com/2013/06/oracle-java-interview-questions-and.html Oops concepts :- http://www.w3resource.com/java-tutorial/java-object-oriented-programming.php   in which case we need abstract class and interface ? http://www.thecoldsun.com/en/content/01-2009/abstract-classes-and-interfaces Real Time example …
    keep reading


  15. What is the difference between JDBC and ODBC?

    0

    February 13, 2014 by admin

    a) OBDC is for Microsoft and JDBC is for Java applications. b) ODBC can’t be directly used with Java because …
    keep reading


  16. Difference between Set, List and Map

    0

    December 10, 2013 by admin

    Difference between Set, List and Map Set, List and Map are three important interface of Java collection framework and Difference …
    keep reading


  17. Difference Between String , StringBuilder and StringBuffer Classes with Example : Java

    0

    December 10, 2013 by admin

    Today we are going to understand the difference betweenString , StringBuilder and StringBuffer . As you will find that there are …
    keep reading


  18. Difference between instance class and local variables in Java

    0

    December 10, 2013 by admin

    Now let’s see difference between instance variable and local variable. local variables are local in scope and they are not visible …
    keep reading


  19. Core Java Interview Question and Answers

    0

    September 23, 2013 by admin

    http://java67.blogspot.in/2012/10/java-interview-questions-for-2-to-3-4-years-experienced.html http://www.javatpoint.com/corejava-interview-questions-4#collectioninterview Q1)What is the o/p of following program?public class Widening1 {public void f1(Object o1){ System.out.println(“Inside f1 with object as …
    keep reading


Recent Posts