Home / Computer Science / Java Language

Java Language

Abstraction in Java

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

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 in Java was designed and developed primarily by Joshua Bloch and was introduced …

Read More »

String Builder : A Comprehensive Guide

String Builder

String builder in Java is a class. It is like string objects, except that they can be modified. String Builder class is available in java.lang package. Internally String builder objects are treated like variable length arrays which contain sequence of characters. At any point of time, the length and content …

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 »