CORE JAVA: Wrapper Classes

Introduction Each of Java's eight primitive data types has a class dedicated to it. These are known as wrapper classes because they "wrap" the primitive data type into an object of that class. The wrapper classes are part of the java.lang package, which is imported by default into all Java programs. The wrapper classes in … Continue reading CORE JAVA: Wrapper Classes

Advertisements

JAVASCRIPT: Functions

Introduction A JavaScript function is a block of code designed to perform a particular task. A JavaScript function is executed when "something" invokes it (calls it). JavaScript functions are used to perform operations. We can call JavaScript function many times to reuse the code. A function is a group of reusable code which can be called … Continue reading JAVASCRIPT: Functions

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: Multithreading

Introduction  Multithreading in java is a process of executing multiple threads simultaneously. A thread is basically a lightweight sub-process, the 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 … 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 API(Application Program Interface) provides large … Continue reading CORE JAVA: Packages