JAVASCRIPT: Introduction & Programming Fundamentals

Introduction JavaScript is an object-based scripting language that is lightweight and cross-platform. JavaScript is not compiled but translated. The JavaScript Translator (embedded in the browser) is responsible to translate the JavaScript code. JavaScript is the programming language of HTML and the Web. JavaScript is easy to learn. Where JavaScript is used JavaScript is used to create interactive … Continue reading JAVASCRIPT: Introduction & Programming Fundamentals

CORE JAVA: Networking

Introduction Java Networking is a concept of connecting two or more computing devices together so that we can share resources. The term network programming refers to writing programs that execute across multiple devices (computers), in which the devices are all connected to each other using a network. The java.net package of the J2SE APIs contains a collection … Continue reading CORE JAVA: Networking

CORE JAVA: I/O Streams

Introduction Java I/O (Input and Output) is used to process the input and produce the output. Java uses the concept of stream to make I/O operation fast. The java.io package contains all the classes required for input and output operations. We can perform file handling in java by Java I/O API. Stream: A sequence of data. Input Stream: reads data from source. Output … Continue reading CORE JAVA: I/O Streams

CORE JAVA: Multithreading

Introduction  Multithreading in java is a process of executing multiple threads simultaneously. Thread is basically a lightweight sub-process, a smallest unit of processing. Multiprocessing and multithreading, both are used to achieve multitasking. But we use multithreading than multiprocessing because threads share a common memory area. They don't allocate separate memory area so saves memory, and context-switching … Continue reading CORE JAVA: Multithreading

CORE JAVA: Packages

Packages Containers for classes Provides visibility mechanism Packages are a way of grouping variety of classes and/or interfaces together This grouping is usually done according to functionality Thus packages act as containers for classes Java packages are classified as –Java API packages (System Packages) –User-defined packages Java API packages (System Packages) Java APl(Application Program Interface) provides a … Continue reading CORE JAVA: Packages

CORE JAVA: OOPs (Object Oriented Programming System)

Introduction   Object means a real word entity such as pen, chair, table etc. Object-Oriented Programming is a methodology or paradigm to design a program using classes and objects.It simplifies the software development and maintenance by providing some concepts: Object Class Inheritance Polymorphism Abstraction Encapsulation Java class Collection of objects is called class. It is a logical entity. Defines … Continue reading CORE JAVA: OOPs (Object Oriented Programming System)

CORE JAVA: The Java Language

Introduction Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible.One of the most popular programming languages in use.Derives much of its syntax from C and C++. Features of Java: Compiled and Interpreted Platform-Independent and Portable Simple, Object-oriented and Familiar Robust and … Continue reading CORE JAVA: The Java Language

CORE JAVA: Exception Handling

Introduction An exception is a run-time error This means it is an abnormal condition that arises in a code sequence at run time Java exception handling is managed via five keywords: try, catch, throw, throws, and finally Advantage of Exception Handling: The core advantage of exception handling is to maintain the normal flow of the application. … Continue reading CORE JAVA: Exception Handling

CORE JAVA: String Manipulations In Java

String Strings, which are widely used in Java programming, are a sequence of characters. In Java programming language, strings are treated as objects.The Java platform provides the String class to create and manipulate strings. Creating Strings The most direct way to create a string is to write − String greeting = "Hello world!"; EXAMPLE: String … Continue reading CORE JAVA: String Manipulations In Java