Polymorphism and abstraction (OOP 3)

In the previous blog, I stated 2 of 4 properties of OOP in Java. In this article, I would like to go through 2 remaining properties including Polymorphism and abstraction. Polymorphism Polymorphism means we can perform the one task in many different ways depending on the situation and context that it get involved. For example,... Continue Reading →

Begin with CSS

We have known that CSS is the rules that are written for designing a webpage of an application's front-end. Now is the time for moving further into CSS. The syntax of CSS Initially, the syntax of CSS is quite clear and easy to understand, even with the non-technique people at the first sigh. <selector>{ /*... Continue Reading →

Inheritance , encapsulation – OOP(2)

Object Oriented Programming is one of the important types in modern programming. It considers the things related to data as Object and Object's properties. In Java, a class can be defined as an object. The functions, properties are considered like how such object behaves. In this article, I would like to introduce the fours main... Continue Reading →

Class in Java – OOP(1)

Java is an Object Oriented Programming (OOP) language; Thus, understanding what it is and how it works is very important for going further. In this article, I would like to go through the core definitions of OOP such as class, constructor and instance. Class, what the heck is it? Class is an abstract thing used... Continue Reading →

Array in Java (part 2)

In Java programming language, there are many useful methods, utilities for working with an array. All of those things are defined in Arrays class which could be imported via library java.util.Arrays. In this part, I will give some examples of the popular static methods that can be used for integer, float, byte, char, double, short,... Continue Reading →

Array in Java (part 1)

What is an array? In Java, an array is a group of like-type variables which are sequent addresses on memory. The size of an array is absolute and cannot be changed during program execution. The elements in an array are indexed by number and start with 0. The index of an element is like its... Continue Reading →

Switch – case in Java

Characteristic of the Switch-case A switch-case statement is used to check the value of a variable with the other values; Each different value is one case. If the case is correct, then the code block of that case will be executed. If all of the cases are wrong, then the default case will be performed.... Continue Reading →

Loops in Java

Introduction A loop is used to tell the computer to do something repeatedly. For example, you want to print out "Hello Java" 100 times. The While loop We use the While loop when we do not know how many times we have to repeat. The syntax for the while loop is: while (condition){ //code statements... Continue Reading →

Condition statements in Java

If statement is one of the most basic of control flow statements in any programming language; of course, Java is not an exception. If statement Our program will run following steps when executing an If statement checking conditionIf the condition is true, the action statements will execute, then the program will keep going with the... Continue Reading →

Java and data types

What is data type In general, an identifier that contains the size and type of a value is specified data type. Depending on what application you want to develop, you have many choices in java for the appreciated data type. In java, the data type classifieds in two main types primitive which include Integer, Character,... Continue Reading →

Create a website or blog at WordPress.com

Up ↑