Author: admin

Exception in Java

12 commentsUncategorized

Introduction: Exception: An exception is an unwanted or unexpected event, that disturbs the normal flow of the program i.e at run time is called an exception.   It is highly recommended to handle exceptions so that the program terminates normally. The main objective of exception handling is graceful (normal) termination of the program.   What ….  Read More

String in Java

48 commentsUncategorized

Introduction String is one of the most widely used classes in java programming by developers. Strings are immutable, so StringBuffer and StringBuilder classes come to make the string mutable (manipulations) easy way.   String In Java, a string is an object which represents a sequence of characters. String is immutable, which means it can not ….  Read More

Object Oriented Programming (OOPs) Concept in Java.

21 commentsUncategorized

Introduction Object-Oriented Programming (OOPs) is the concept of objects based programming, that contains data(fields) and its behavior (method), in a single location(object). Using object-oriented programming is to increase the flexibility and maintainability of programs. Truly object-oriented programming language is represented everything as an object, Main aims of Object-oriented programming to implement real-world entities like inheritance, ….  Read More