Rajesh Sinha

[ Intern at Padhle.com ] I am a software developer working especially with python and JAVA. I believe I can learn new skills from everyone and from every work. I have uploaded my work samples in my GitHub repository.

Take input from User – Input And Output In Python- Free Python Tutorials

The main job of most of the Programming Language is: Taking some input (may be from a user or from other sources). Processing the input accordingly. Generate and present the output. There is no violation of the above-mentioned points in Python also. To take input from the user, there is a function ‘input()’ and to …

Take input from User – Input And Output In Python- Free Python Tutorials Read More »

Searching Elements in List – Free Java Tutorials and online Training

Collections Class defines the following Binary Search methods to search the elements in a list. public static int binarySearch(List ls, Object obj): If the list is sorted according to default natural sorting order, then we have to use this method. public static int binarySearch(List ls, Object obj, Comparator c): We have to use this method if the …

Searching Elements in List – Free Java Tutorials and online Training Read More »

Arrays Class in Java – Free Java Tutorials and Online Training

Arrays Class is a utility class to define several utility methods for Arrays or Arrays objects. Here we discuss about the Arrays Class methods. Sorting elements of Array Arrays Class defines the following sort methods to sort elements of Primitive and Object type Arrays: public static void sort(primitive[] p): This method is used to sort elements …

Arrays Class in Java – Free Java Tutorials and Online Training Read More »

NavigableSet , NavigableMap and Collection Sort in Java

1.6 version enhancements in Collection Framework: As a part of 1.6 version, the following two concepts were introduced in Collection Framework: 1) Navigable Set 2) Navigable Map. Navigable Set It is the child interface of SortedSet and it defines several methods for Navigation purposes. Navigable Set Methods NavigableSet defines the following methods: floor(e): This method returns the highest …

NavigableSet , NavigableMap and Collection Sort in Java Read More »