Inheritance (IS-A) vs. Composition (HAS-A) Relationship

Inheritance (IS-A) vs. Composition (HAS-A) Relationship

One of the advantages of Object-Oriented programming language is code reuse. There are two ways we can do code reuse either by implementation of inheritance (IS-A relationship), or object composition (HAS-A relationship). more...

Java Primitive data type

PHP Form Validation

Not everything in Java is an object. There is a special group of data types (also known as primitive types) that will be used quite often in programming. For performance reasons, the designers of the Java language decided to include these primitive types. Java determines the size of each primitive type. more...

Online JSON Viewer

While working with JSON, often you may need a JSON viewer. This document discusses several online JSON viewer. Hopefully, this will help you to select one depending upon your requirement. more...

Java Object Oriented Programming concepts

This tutorial will help you to understand about Java OOP’S concepts with examples. Let’s discuss about what are the features of Object Oriented Programming. more...

Java Packages

Java Packages

A decently size project can have hundreds of Java classes and you need to organize them in packages (think file directories). more...

Java Class, methods, instance variables(IDE)

Java	Class, methods, instance variables

All computer programs consist of two elements: code and data. Furthermore, a program can be conceptually organized around its code or around its data. more...

Compiling, running and debugging Java programs

Compiling, running and debugging Java programs

Eclipse IDE is an open-source product that was originally created with a substantial code donation by IBM to the Java community, and from that moment Eclipse was a 100% community-driven product. more...

Download and Install JDK, Eclipse (IDE)

Java tutorial

Java Development Environment Setup : Download and Install JDK, Eclipse (IDE), also discussed how to run Java Program on Windows, Linux. more...

Java Program Structure

Java tutorial

Here is the example of HelloWorld Java program to understand structure and features of class. This program is written on few lines, and its only task is to print “Hello World from Java” on the screen. more...

Java Tutorial

Java tutorial

This is the first article of w3resource's Java programming tutorial. The aim of this tutorial is to make beginners conversant with Java programming language. more...