Thursday , August 16 2018
Home / admin (page 3)

admin

How to get current date time in java

java

Java provides the Date class available in java.util package, this class encapsulates the current date and time.You can also use Calendar class to get current date and time. Getting Current Date & Time This is very easy to get current date and time in Java. You can use a simple ...

Read More »

Email crash report using ACRA

android

It would be great to get a detailed report every time your app crashes. And that’s exactly what we’re gonna do in this post. I’l be using ACRA, a wonderfully simple crash reporting library.Its also well documented. A brief intro into ACRA : 1. It is capable of creating detailed ...

Read More »

Wrapper class in Java

java

Wrapper classes are used to convert primitive into object and object into primitive. Each of Java’s eight primitive data types has a class dedicated to it. These are known as wrapper classes, because they “wrap” the primitive data type into an object of that class. The primitive data types are ...

Read More »

How To Make Circular Imageview In Android

android

In this tutorial we are going to learn to make circular ImageView in android. The default ImageView in android is rectangle so there are situations where we will like to create a circular ImageView in android. In this tutorial we will create a custom class to round a Imageview. And you ...

Read More »

Static Binding and Dynamic Binding in Java

java

Connecting a method call to the method body is known as binding. There are two types of binding static binding (also known as early binding). dynamic binding (also known as late binding). 1. Static binding or Early binding Static binding is a binding which happens during compilation. It is also ...

Read More »

Super keyword in java

java

Super keyword in java is a reference variable that is used to refer parent class object.Whenever you create the instance of subclass, an instance of parent class is created implicitly i.e. referred by super reference variable. Usage of java super Keyword super is used to refer immediate parent class instance ...

Read More »

Context Menu In Android

android

This tutorial explains about creating Context menu in Android.A context menu provides actions that affect a specific item or context frame in the UI. Context Menu appears when user long press on a View like ListView, GridView etc.It doesn’t support item shortcuts and icons. Android Context Menu Example activity_main.xml Drag ...

Read More »

LinkedList in java

java

The LinkedList class extends AbstractSequentialList and implements the List interface. It provides a linked-list data structure. Java LinkedList class uses doubly linked list to store the elements. It extends the AbstractList class and implements List and Deque interfaces. Java LinkedList class can contain duplicate elements. Java LinkedList class maintains insertion ...

Read More »

Checked vs Unchecked Exceptions in Java

Checked and Unchecked Exception is two types of Exception exist in Java. Though there is no difference in functionality and you can very achieve same thing with either checked Exception or Unchecked Exception, there is some difference on exception handling part. 1)Checked Exception Exception which are checked at Compile time ...

Read More »

Difference between throw and throws in Java

There are many differences between throw and throws keywords. A list of differences between throw and throws are given below: 1) You can declare multiple exception thrown by method in throws keyword by separating them in common e.g. throws IOException, ArrayIndexBoundException etc, while you can only throw one instance of ...

Read More »