Introduction LINUX is an operating system or a kernel distributed under an open-source license. The kernel is a program at the heart of the Linux operating system that takes care of fundamental stuff, like letting(permit) hardware communicate with software. Linux is Unix-like operating system (OS) that was first created by Linus Torvalds in 1991 Basic Features Following are some of the important features of the Linux Operating System. ● Portable − Portability means software can works on different types of hardware in same way. Linux kernel and application programs supports their installation on any kind of hardware platform. ● Open Source − Linux source code is freely available and it is community based development project. Multiple teams work in collaboration to enhance the capability of Linux operating system and it is continuously evolving. ● ...
1. Introduction to String In Java, a String is an object that represents a sequence of characters . Strings are written using double quotation marks (" ") . Example: String s = "Java" ; A character array can also be used to create a String. Example: char [] ch = { 'j' , 'a' , 'v' , 'a' }; String s = new String ( ch ); This is the same as: String s = "java" ; Java StringBuffer Class The StringBuffer class is used to create mutable (modifiable) string objects . Unlike the String class, StringBuffer objects can be modified after creation . · String → Immutable (cannot change) · StringBuffer → Mutable (can change) Features of StringBuffer · Characters can be inserted, replaced, or deleted · Automatically grows when more characters are adde...