Core Java

Exceptions In Java

A software engineer may also commit several errors while designing the project or developing the code. These errors are also called 'bugs' and the process of removing them is called 'debugging'. Let us take a look at different types of errors that are possible in a program.

Exception Handling In Java

When there is an exception, the user data may be corrupted. This should be tackled by the programmer by carefully designing the program.

Notable Differences In Java Collections

A collection framework is a class library to handle group of objects. Collection framework is implemented in 'java.util package'. A collection object stores references of other objects.

Wrapper Classes

A wrapper class contains a field where it stores the primitive datatype. When we create an object to a wrapper class, it carries the primitive datatype within it and hence the object can be sent to the server. The server can retrieve the primitive datatype from the object and use it.

Java Collections

The Collection in Java is a framework that provides an architecture to store and manipulate the group of objects. Java Collections can achieve all the operations that are performed on a data such as searching, sorting, insertion, manipulation, and deletion. Java Collection means a single unit of objects. Java Collection framework provides many interfaces such as Set, List, Queue, Deque and classes such as ArrayList, Vector, LinkedList, PriorityQueue, HashSet, LinkedHashSet, TreeSet.

Subscribe For More Content