• Java
  • Python
  • Spring Boot
  • About us
  • Contact us
  • Privacy Policy

Be Interview Ready

Java

HashSet add() Method in Java

The add(E element) method of HashSet inserts the specified element into the set. It returns false if the set already Read more…

By Taufique Shaikh, 2 years10 months ago
Java

LinkedList add() Method in Java

The add(E element) of LinkedList appends the specified element at the end of the list. We can also add an Read more…

By Taufique Shaikh, 2 years10 months ago
Java

LinkedList addFirst() Method in Java

The addFirst(E element) method of LinkedList appends the specified element at the beginning of this linked list. It does not Read more…

By Taufique Shaikh, 2 years10 months ago
Java

LinkedList addLast() Method in Java

The addLast(E element) method of LinkedList appends the specified element at the end of this linked list. It does not Read more…

By Taufique Shaikh, 2 years10 months ago
Java

LinkedList clear() method with example in java

The clear(E element) method of LinkedList removes all the elements from this list. The linked list becomes empty as a Read more…

By Taufique Shaikh, 2 years10 months ago
Java

LinkedList contains() method with example in java

The contains(E element) method of LinkedList checks if the LinkedList contains the specified element or not. It returns true if Read more…

By Taufique Shaikh, 2 years10 months ago
Java

LinkedList element() method with example in java

The element() method of LinkedList retrieves but does not remove the first element of this linked list. It throws NoSuchElementException Read more…

By Taufique Shaikh, 2 years10 months ago
Java

LinkedList get() method with example in java

The get(int index) method of LinkedList returns the element at the specified index in this list. It throws IndexOutOfBoundsException if Read more…

By Taufique Shaikh, 2 years10 months ago
Java

LinkedList getFirst() method with example in java

The getFirst() method of LinkedList returns the first element of this linked list. It throws NoSuchElementException if this linked list Read more…

By Taufique Shaikh, 2 years10 months ago
Java

LinkedList getLast() method with example in java

The getLast() method of LinkedList returns the last element of this linked list. It throws NoSuchElementException if this linked list Read more…

By Taufique Shaikh, 2 years10 months ago

Posts navigation

Previous 1 2 3 4 … 13 Next
Recent Posts
  • Capgemini Java Interview Questions – Part 1
  • Add Actuator to Spring Boot Application
  • TCS Java Interview Questions
  • How Generics Work in Java?
  • Autoboxing with Generics in Java
  • About us
  • Contact us
  • Privacy Policy for Devcubicle
Copyright @ 2023 DevCubicle By CloudTech. All Rights Reserved.