Blogger Importer Extended (BIE) – The importer has stopped unexpectedly

Error: “cURL error 28: Operation timed out after 1001 milliseconds with 0 bytes received”. Or Error: “The importer has stopped unexpectedly! But… don’t worry! It will restart automatically in 180 seconds.” Solution: I tried to install BIE plugin in my WordPress. First time it ran very fine but very second time I ……………

500 Internal Server Error error – The server encountered an internal error

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@TechnicalJungle.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information ……………

Android Mip-mapping

Important facts about mipmap Android platform 4.3 and upward mipmap is by required to be added. There are many categories of mipmap drawables like mipmap-hdpi, mipmap-mdpi, mipmap-xhdpi etc. Mipmap is variety of drawables which is pe-processed, pre-calculated, pre-scaled, optimized, ready to use drawable. So that GPU (Graphics ……………

Custom Exception

As the name suggests Custom Exception means it is Custom or User Defined Exceptions. User can create his/her own exceptions.  For this, developer has to extend the existing checked or unchecked exception. Lets see some examples….. CustomUncheckedException.java package technical.jungle.com.exception; public class CustomUncheckedException extends NullPointerException{ CustomCheckedException(String s){ super(s); ……………

Exception Handling Programming

Let me give you some example to debug and track the flow.  Program-1 ———–Illegal code package technical.jungle.com.exception; public class DemoArithmeticException { public static void main(String arfs[]) throws ArithmeticException { System.out.println(“www.TechnicalJungle.com”); System.out.println(“try”); int x = 0; int y = 10; int z = y / x;    // ……………

How to implement Callback mechanism ( With One Callback – no parameter )

This is all about “how to implement” callback mechanism in Core Java with one interface. Steps to implement it Interface Class: One interface has to be created. This interface will be passed from UI class to background class. Background Operation Class: One class for doing background operation. Which will ……………

String

String class is immutable. Immutable means once String object created then any modification is not permitted in that object. So once created, can not be changed. Once String object is created then that object will be added in the String Literal Pool. If String object is created ……………

Overriding

The ability to define behaviour that’s specific to a particular subclass type. It means a method is implemented in superclass and subclass has some specific behaviour so subclass is free to implement the same method again.  This concept is called as overriding. Important Points Inheritance is required to achieve Overriding. Overriding is runtime polymorphism. ……………

Overloading

Overloaded methods allows to reuse the same method name in a class, but having different signature. Signature means one method varies with other method in terms of below points: Number of arguments. Types of arguments. Order of arguments. There are some rules as below: Overloaded methods must ……………

Abstract Class

Abstract class is the class which can hold fully implemented methods and unimplemented methods. That’s the major difference between Interface vs Abstract class. Have a look on below section 1.0, which demonstrate template for Abstract class.

Some key points about above demo:  abstract keyword is used. ……………

Interface

Interface and its usage Interface is a 100% abstract class. It means its method should not have its body part. Signatures below: User version

Some key points for above demo: 1)  Keyword “interface” used here for declaring it. 2) No method body. No curly braces like {…}. ……………

Interface vs Abstract Class

Interface  Click here for complete interface explanation. Can have only unimplemented methods. Supports multiple inheritance Can have only static and final variables. Methods can’t be static. Interface can’t hold main method or constructor. Interface can’t extend/implement abstract class. Keyword ‘interface’ is used to declare. Interface can extend other ……………