Home / Computer Science / Java Language

Java Language

Abstraction in Java

Abstraction refers to the act of representing essential features to the outside world and showing the necessary functionality.  Data Abstraction may also be defined as the process of identifying only the required characteristics of an object ignoring the irrelevant details. The properties and behaviors of an object differentiate it from …

Read More »

Collections Framework in Java

History of Collection frame work: Java collections are a legacy frame work which contains classes and interfaces that implement commonly reusable collection of data structures. Java collection framework (JCF) it works as a library. Collection frame work was designed and developed primarily by Joshua Bloch and was introduced in JDK1.2 …

Read More »

First Java Program

Java Program – Basic Syntax: public class ClassName { public static void main(String args[]){ Variables; Statements; } } First Java Program: public class FirstJavaProgram { /* This is my first java program. * This will print ‘Hello World’ as the output */ public static void main(String []args) { System.out.println(“Welcome to …

Read More »