web analytics
Google + RSS Feed

‘Core Java’ 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. IS-A and Has-A relations

    0

    November 12, 2017 by admin

    Inheritance, IS-A and Has-A Contents : IS-A relationship in OOP (Inheritance) Has-A relationship (Association) Different type of Association : Aggregation and Composition Example of …
    keep reading


  11. Abstract Class

    0

    November 12, 2017 by admin

    Abstract class in Java A class that is declared with abstract keyword, is known as abstract class in java. It …
    keep reading


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


  13. Java Annotations

    0

    November 10, 2017 by admin

    Java Annotations Java Annotation Purposes Annotation Basics Annotation Elements Annotation Placement Built-in Java Annotations @Override @SuppressWarnings Creating Your Own Annotations …
    keep reading


  14. Difference Between Error Vs Exception In Java

    0

    November 5, 2017 by admin

    Difference Between Error Vs Exception In Java Both java.lang.Error and java.lang.Exception classes are sub classes of java.lang.Throwable class, but there exist some significant differences between them. java.lang.Error class represents …
    keep reading


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


  16. Difference between throw and throws in Exception handling

    3

    May 19, 2014 by admin

    Main difference between throw and throws is in there usage and functionality. where throws is used in method signature to declare Exception possibly thrown by …
    keep reading


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


  18. How to use Singleton Class ?

    0

    March 2, 2014 by admin

    The Singleton’s purpose is to control object creation, limiting the number of obejcts to one only. Since there is only …
    keep reading


  19. Difference between Thread vs Runnable interface in Java

    0

    February 27, 2014 by admin

    Difference between Thread vs Runnable interface in Java Thread vs Runnable in Java is always been a confusing decision for beginners  in java. Thread in …
    keep reading


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


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


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


  23. Java Programming Coding Interview Questions Answers for programmers

    0

    December 10, 2013 by admin

    Prime Numbers  Here is a complete Java programs which accepts a number from the user, checks if the number is …
    keep reading


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


  25. Java Collections

    0

    December 10, 2013 by admin

    The Java Collections API’s provide Java developers with a set of classes and interfaces that makes it easier to handle …
    keep reading


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


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


  28. Threading

    0

    October 10, 2013 by admin

    Java provides built-in support for multithreaded programming. A multithreaded program contains two or more parts that can run concurrently. Each part …
    keep reading


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