|
|
|
Core Java
|
Linear search in java
In this section we will know, what is linear search and how linear works. Linear search is also known as "sequential search", by sequential it means it searches the element in sequence or in linear way.
View Rating |
|
|
Core Java
|
Java bitwise OR "|" operator
In this section you will learn about how to use" |" operator in java. Java provides six types of operators: among them one is Bitwise (OR) "|" operator which can be applied to integer, long, int char short type. Bitwise OR "|" operator work on bit and perform bit by bit operation.
View Rating |
|
|
Core Java
|
Array in java
In following example we will discuss about Array in Java. Array is a collection of data of same datatype.We can use it to store Integer, Boolean, String object. We can store only primitive data in array.
View Rating |
|
|
Core Java
|
Difference between Java and C++
Java is an Object Oriented Programming(OOPs) language, developed by James Gosling 1992. Important feature of java is that it allows the developer to Write Once Run Anywhere (WORA) meaning that the code that run on one platform need not required to compile again on another platform. C++ is a superset of C, because it has many new feature other than that already exist in C language.
View Rating |
|
|
Core Java
|
Java "&" operator
In this section you will learn how to use "&" operator in java. Java provide six types of operators: among them one is Bitwise operator which can be applied to integer, long, int char short type. "&" operator comes under type of Bitwise operator in java. Bitwise operator work on bit and perform bit by bit operation.
View Rating |
|
|
Core Java
|
What is HashSet in java
In following example we will discuss about HashSet in Java. The HashSet class implements the set interface. We have stored data of collection used for HashSet method.hashSet stored only object HashSet class in java.util package. The HashSet does not accept duplicate value.
View Rating |
|
|
Core Java
|
Java Create Directory
The following example will show how to Create Directory in Java. Though this can be created by using mkdir() also, the following program has used file object in File class.
View Rating |
|
|