My 3rd DSA lab

Mubashir Ibrahim
1 min readJan 10, 2021

So as our DSA(Data Structure algorithm )lab is on Thursday so here comes another Blog. I know i think Blogs kinda boring that’s why i didn’t got any response .

Sed lyf

So now come to the Topic. Our 3rd lab was related to our 2nd lab,Because as we studied Arrays in 2nd Lab,So in 3rd one we studied its methods that how their methods really work and worked on some Built-in methods functionality.

Arrays_Method’s:-

The Arrays contain many built-in methods.They can be accessed by Importing Arrays Library.We can see all of the Arrays methods in its Documentation on Oracle.The link is:-

This is the official link of Oracle website.So lets again come to the Methods available in Java Arrays. We will discuss some of the basic and important topics of Arrays only,which are following:-

Methods:-

  1. binarySearch(Object[]o,Object key) :- This method is used for searching any element from Array. The Array is passed along with a key which we have to search from that Array.It is faster than the method we use for searching an element from Array(Linear Search).

--

--