Friday , January 10 2025

admin

LinkedList in 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 »

Parse XML Data

Parsing XML essentially means navigating through an XML document and returning the relevant data. An increasing number of web services return data in JSON format, but a large number still return XML, so you need to master parsing XML if you really want to consume the full breadth of APIs …

Read More »

Android RecycleView Example

Google’s upcoming operating system named Android L looks very promising. It is highly focused on rich user experience and what they called it as material design. In this example we will take a look at the new UI widget called RecyclerView. RecyclerView is more advanced and flexible and efficient version …

Read More »

ArrayList in Java

The ArrayList class extends AbstractList and implements the List interface. ArrayList supports dynamic arrays that can grow as needed. Standard Java arrays are of a fixed length. After arrays are created, they cannot grow or shrink, which means that you must know in advance how many elements an array will …

Read More »

Collections in Java

Collections in java is a framework that provides an architecture to store and manipulate the group of objects.This framework has several useful classes which have tons of useful functions which makes a programmer task super easy. All the operations that you perform on a data such as searching, sorting, insertion, …

Read More »

Exception Handling In Java

An exception (or exceptional event) is a problem that arises during the execution of a program. When an Exception occurs the normal flow of the program is disrupted and the program/Application terminates abnormally, which is not recommended, therefore these exceptions are to be handled. Exception can occur at runtime (known …

Read More »

Interface in Java

An interface is a reference type in Java, it is similar to class, it is a collection of abstract methods. An interface in java is a blueprint of a class. It has static constants and abstract methods only. The interface in java is a mechanism to achieve fully abstraction. There …

Read More »

Music Player – Android App

Stylish , Powerful and Fast Music Player with elegant design . Music Player lets you manage all your music files quickly and easily .This audio player supports almost all types of mp3 , midi ,wav , flac files and other audio formats . Easily browse and play music songs. Can …

Read More »