Tagged: Selenium

String in java

String in java

String is nothing but a sequence of characters. For example, “Book” is a string which is having sequence of 4 characters. There is a lot of importance of String and its usage in any programming language. In...

Polymorphism in Java

Polymorphism in Java

In the previous post, we have seen Initializer Block.In this post , we will see what is polymorphism in Java. In object oriented programming, we know it is best at providing the reusability of the...

Initialization block in java

Initialization block in java

Initialization blocks as name says can be used to initialize the objects or data members in java. An initialization block contains a group of statements enclosed in a pair of braces. Syntax : {...

super keyword in java

super keyword in java

In the previous session, we have seen the usage of method overriding. In this session, we will see how to use the keyword super in java programming. The super keyword is used to refer immediate parent class members....

Method Overriding in Java

Method Overriding in Java

  In parent class we have a method, and the same method is declared in child class is known as method overridding. Before we have seen method overloading, now we will discuss method overriding in...

Aggregation in java

Aggregation in java

The most important advantage of Object oriented programming is code reusability. Aggregation means making a relationship or association between 2 classes. There is one directional association between the classes that represent Has-A relationship. As an example suppose,...

Static keyword

Static keyword

static  keyword s mainly used for memory management. It can be used with variables, method,blocks and  nested class. The static keyword belongs to the class, not to the object of the class. It can...

Object and Classes

Object and Classes

Object: As explained earlier in the post OOPs concept, Object can be defined as what we see around us in real world like car, pen, TV etc. It can be a physical and logical...

Naming convention in Java

Naming convention in Java

In java, when we assign name to identifiers such as class, package,method,variables etc. ,there are certain conditions which should be followed.It is not mandatory, but right way to do that. It improves the readability...

OOPs concepts in java

OOPs concepts in java

In this post, we will study about the OOPs concepts i.e. Objects oriented programming concepts. As per its name, first question comes to the mind is what is an object? What is an Object?...