Category Archives: java

inheritance in java

Inheritance in Java-: Inheritance is the feature of object oriented programming system. Inheritance is the process by which object of one class acquire the properties of another class. It support the concept of hierarchical classification. For example the bird ‘robin’ is a part of the class ‘flying bird’ which is again part of  class ‘bird’.… Read More »

array in java

Array in java-: Arrays are  the collection of same data type in a large value called the array.  Array are the part of data structure in Java. Data structures are tools that allow us to store and access sequences of information rather than using individual variables. Variables are great when we have one specific piece… Read More »

switch case in java

Switch case in java statement-: Like any other programming Java support switch case statement in java. we have seen that when one of the many alternative is to be selected we can use an if statement to control the selection .Some time complexity of such a program increasing dramatically when the number of alternative increases.… Read More »

java if else

Java If else statement-: Like any other language In java If ..else statement is a powerful statement. It is a condition statement and decision making statement. If is a Java keyword and it is  followed by two condition between which we put the statement to be evaluated. If Java determines that the statement we write between… Read More »

java operators

Java Operators-: Java has a lot of operators, simple and composed. Most Java operators are the ones we know from maths but because programming involves types other than numeric, extra operators with specific purposes were added.  Like any other programming language Java support many types operator these are.. Assignment operator Numerical Operators Binary Operators Relation Operators Bitwise… Read More »

java variables

Java Variable-: A variable is a set of characters that can be associated with a value. It has a type. The set of values that can be assigned to it are restricted to a certain interval group of values or must follow a certain form defined by that type.In Java, there are three types of variables.… Read More »

java features

Java Features-: The primary objective of Java programming language creation was to make it portable, simple and secure programming language.Java borrowed most of its syntax from a programming language called C++, which has a syntax based on the C language. The main features of java is .. High level and general purpose: Rather than being created… Read More »