Posts

Showing posts from May, 2024

Functions in Java

⋮ Mindvault360 Introduction to Java FEATURES OF JAVA OOPS Concepts Java Tokens Java statements Java Datatypes Type Casting Operators Expression, Scanner Class and Control Structures Control Statements in Java Loops in Java Functions in Java Arrays in Java Java String Java Regex Java Methods Java Constructor Java Modifiers Java Inheritance Java Abstraction Java Encapsulation Java Polymorphism Java Interface Java Recursion Java Final Class Java Keywords Java Inner Class Java Singleton Class Java Object Class Java Garbage Collection and Finalize Class Java Enumeration Multithreading Life cycle of a thread Thread Priority Thread Scheduler Thread.sleep() in Java Java join() method Daemon Thread in Java Java Thread Pool ThreadGroup in Java Java Shutdown Hook Java Runtime class Synchronization in Java Deadlock in Java Inter-thread Communication in Java Exception in Java Date and time class in Java Java FileStream Seria...

Control Structures in CPP

⋮ Mindvault360 C++ Introduction Variables Comments in CPP OOP(Object-oriented programming) Basic input and output operations Tokens & Manipulators in CPP Control Structures in CPP Looping Statements Arrays in CPP Pointers in CPP File Operations in CPP Functions in C++ C++ String C++ math C++ Boolean Basic Syntax and Structure of C++ Dynamic memory Scope of Variable C++ Control Structures  Control Structures are just a way to specify flow of control in programs.   There are three basic types of flow of control, known as: Sequence logic, or sequential flow Selection logic, or conditional flow Iteration logic, or repetitive flow Sequence Logic Sequential logic as the name suggests follows a serial or sequential flow in which the flow depends on the series of instructions given to the computer.  Selection Logic (Branching) Selection ...

STORAGE CLASSES in C

Image
⋮ Mindvault360 Introduction to C Features of C Datatypes in C Variables Structure of C Program Compiling and Executing C Program Basic Program in C Tokens in C STORAGE CLASSES in C I/O FUNCTIONS IN C DYNAMIC MEMORY MANAGEMENT Error handling in C Pointers C STORAGE CLASSES These features of the function include scope and visibility. In other words, A storage class defines the scope and lifetime of variables and/or functions within a program. Types: Automatic External Static Register. 1. Automatic :    A variable declared inside a functions without any storage class specification, is by default an automatic variable. They are created when a function is called and are destroyed automatically when the function exits. Automatic variables can also be called local variables because they are local to a function. The keyword is auto. Example 01: #include <stdio.h> int main() {...