Structured Languages- Need and Characteristics of OOP, Data Types and Modifiers, Arrays, Classes, Objects, Pointers, References, Difference between Pointers and References, Inheritance, Constructors, Destructors, and Polymorphism.
This document discusses object-oriented programming concepts in C++ such as abstraction, encapsulation, inheritance, and polymorphism. It also covers access specifiers like public, private, and protected. Other topics include friend functions and classes, static and non-static members, constructors, destructors, and inheritance.
This document provides an overview of object-oriented programming concepts in C++, including classes, objects, encapsulation, inheritance, polymorphism, and more. Key concepts are defined, such as classes containing data members and methods. Inheritance allows derived classes to inherit properties of base classes. Polymorphism allows calling the correct overridden method at runtime based on the object type. Virtual functions provide late binding so the correct derived class method is called.
This document provides an overview of key C# programming concepts such as declaring variables, data types, conditional statements, loops, namespaces, and more. It also discusses topics like initialization and scope of variables, predefined value and reference types, if statements, and using the console for input/output. The goal is to cover basic C# syntax, conventions, and compiler options to get started with programming in C#.
The document provides information about C# fundamentals including data types, variables, constants, type casting, and data conversion. It discusses the different C# data types such as integer, floating point, decimal, boolean, character, and string. It also covers variable declaration and initialization, variable scope, literals, and formatting strings. The document aims to help students understand C# language basics and write C# programs.
This document summarizes key object oriented concepts in C++ across two chapters.
Chapter 1 discusses object oriented concepts like encapsulation, polymorphism, inheritance and their differences. It also lists advantages of OOP like reusability and security through data hiding.
Chapter 2 provides an overview of C++ tokens, data types, variables, constants, operators and basic statements. It describes keywords, identifiers, user-defined types like structures and enumerations. Storage classes, pointers, arrays and derived types are also covered.
The document comprehensively covers fundamental concepts to understand object oriented programming using C++.
Pointers Refrences & dynamic memory allocation in C++Gamindu Udayanga
This document discusses pointers, references, and memory allocation in C and C++. It defines pointers as containing memory addresses rather than values, and explains how to declare and dereference pointers. It covers pointer arithmetic, assignments, and comparisons. References are defined as aliases for existing variables. The document contrasts pointers and references, and covers passing arguments by value versus by reference. It introduces dynamic memory allocation using malloc, calloc, and free in C, and new and delete in C++. Memory leaks and dangling pointers are defined, and smart pointers are presented as a way to prevent such issues.
The document discusses the role of CLR (Common Language Runtime) in .NET framework. It explains that CLR converts programs to native code, handles exceptions, provides type safety, memory management, security, improved performance and is language and platform independent. It also discusses garbage collection and language features supported by CLR. The main components of CLR are CTS (Common Type System), JIT (Just-In-Time) compiler and CLS (Common Language Specification). CTS defines value and reference types while JIT compiles CIL to machine code. CLS provides language interoperability.
This document provides a list of 20 frequently asked Python interview questions and their answers. Some of the key topics covered include what Python is, its advantages like being free and open source, PEP 8 coding style guidelines, memory management in Python using a private heap and garbage collector, namespaces, iterators, generators, slicing, dictionaries, and differences between Python 2.x and 3.x.
The document provides an introduction to object-oriented programming concepts in C++ including objects, classes, data abstraction, encapsulation, inheritance, polymorphism, dynamic binding, and message passing. It then describes the structure of a C++ program including include files, class definitions, data declarations, member functions, and main functions. Finally, it discusses control structures in C++ including decision making statements like if/else and switch statements, looping statements like while, do-while and for loops, and functions.
Every value in Java has a data type. Java supports two kinds of data types: primitive data types and reference data types. Primitive data types represent atomic, indivisible values. Java has eight Numeric data types: byte, short, int,
An operator is a symbol that is used to perform some type of computation on its operands. Java contains a rich set of
operators. Operators are categorized as unary, binary, or ternary based on the number of operands they take. They are categorized as arithmetic, relational, logical, etc. based on the operation they perform on their operands.
long, float, double, char, and boolean. Literals of primitive data types are constants. Reference data types represent
references of objects in memory. Java is a statically typed programming language. That is, it checks the data types of all values at compile time.
Java is an object-oriented programming language. It has keywords, primitive data types like int and double, and variables that are declared with a type. Variables can be initialized statically at declaration or dynamically later. Constants are declared with final and can't be changed.
C++ is an object-oriented programming language created by Bjarne Stroustrup in 1985 that maintains aspects of C while adding object-oriented features like classes. C++ can be used to create small programs or large applications across many domains. Key concepts covered include functions, classes, inheritance, polymorphism, and memory management techniques like realloc() and free().
This document provides an overview of data types in C++. It discusses fundamental data types like int, char, float, and void, as well as derived data types like arrays, functions, pointers, references, constants, classes, structures, unions, and enumerations. For each data type, it provides examples and explanations of how they are used and represented in memory. It also covers data type modifiers, variable declaration and initialization, and input/output stream manipulators for formatting output.
Data types, Variables, Expressions & Arithmetic Operators in javaJaved Rashid
This document covers fundamentals of programming in Java, including data types, variables, expressions, and arithmetic operators. It discusses the 8 primitive data types in Java (byte, short, int, long, float, double, char, boolean), rules for naming variables, how to declare and assign values to variables, and how expressions are evaluated using arithmetic operators. It provides examples of declaring variables of different data types and using variables in expressions and print statements.
The document discusses classes, methods, and objects in C#. It explains that classes define methods and properties, and methods perform actions and can take parameters and return values. It provides examples of commonly used methods in classes like Console, Math, and Random. It also discusses how to define classes with data members and methods, and how to create objects from classes which allows calling instance methods on those objects. Classes serve both as program modules containing static methods and data, and as blueprints for generating objects with their own state and behavior.
This document discusses key concepts in Java programming including classes, methods, parameters, and invoking methods. It explains that a program consists of classes, a class contains methods, and a method contains statements. Methods can take parameters, which are initialized when the method is called and allow passing in values. Parameters act similarly to local variables but are declared in the method signature.
C++ provides classes as templates to define common data structures and algorithms. Classes like vector and list define containers that store and retrieve objects through iterators. Iterators allow traversing container elements without knowing details of the underlying data structure. The Standard Template Library contains many useful container and algorithm classes that take advantage of templates and iterators to provide powerful and flexible generic programming capabilities in C++.
The document discusses pointers in C++. It defines pointers as variables that hold the memory addresses of other variables. It describes how to declare and initialize pointers, use pointer arithmetic and operators like & and *, pass pointers as function parameters, and dynamically allocate and free memory using pointers and operators like new and delete. Pointers allow programs to write efficiently, utilize memory properly, and dynamically allocate memory as needed.
Data types are a classification that identifies the type of data in a computer program. There are primitive data types like integers, floats, booleans, and characters. Composite data types are constructed from primitive types, like arrays, records, tuples, unions, sets, and objects. Type enforcement ensures type safety by restricting operations to appropriate data types at compile or runtime. Well-typed programs avoid type errors that could lead to failures.
The document provides definitions and explanations of key concepts in C++ like encapsulation, inheritance, polymorphism, overriding, multiple inheritance, constructors, destructors, virtual functions, storage qualifiers, functions, pointers, and name mangling. It discusses these concepts over multiple sections in detail with examples.
Revision notes for exam 2011 computer science with C++Deepak Singh
This document provides an overview of computer science concepts in C++ for CBSE Class 12, including structures, classes and objects, constructors and destructors, inheritance, file handling, pointers, arrays, and data structures. It covers basic syntax and examples for each topic, along with assignments and questions for practice. The document is from www.cppforschool.com and is intended to help students prepare for their CBSE board exam by revising key C++ concepts.
This document provides an introduction to object oriented programming with C++. It discusses key concepts such as data types, operators, functions, input/output streams, and classes. Sample code is provided to demonstrate basic C++ syntax and structure, including comments, preprocessor directives, namespaces, the main function, and use of cout and cin for output and input. Functions are described as blocks of code that are called by name, with arguments allowed to pass parameters. The main benefits of C++ compared to C are noted as handling increasing complexity through use of classes.
Object-oriented programming uses abstraction and encapsulation through abstract data types (ADTs). An ADT defines a data type and its interface independently of its implementation. This allows information hiding and modular program design. Common languages like C++, Java, and Ruby support ADTs through classes or modules, which package data with methods, support inheritance and polymorphism, and provide visibility control through private/public access specifiers. Parameterized ADTs allow a data type to work with different element types. Namespaces and packages provide separate scopes to avoid naming conflicts.
FellowBuddy.com is a platform which has been setup with a simple vision, keeping in mind the dynamic requirements of students.
Our Vision & Mission - Simplifying Students Life
Our Belief - “The great breakthrough in your life comes when you realize it, that you can learn anything you need to learn; to accomplish any goal that you have set for yourself. This means there are no limits on what you can be, have or do.”
Like Us - https://www.facebook.com/FellowBuddycom-446240585585480
The document discusses exception handling in C# programs. It explains that exceptions are errors that occur during program execution. The C# try, catch, and finally keywords are used to handle exceptions. The try block contains code that might cause exceptions. The catch block handles specific exception types. The finally block contains cleanup code that always executes. Built-in exceptions like DivideByZeroException are part of the .NET Framework. Exception handling prevents program crashes and allows graceful handling of errors.
This document discusses the basic elements of programming languages and sequential structures. It covers data types, variables, input/output statements, arithmetic expressions, assignment statements, and function calls. Data can be manipulated using variables, which have attributes like type, lifespan, and scope. Common statements include input to read data, process statements like assignments, and output statements to display results. Expressions are used to evaluate values. Programs follow a sequential structure where statements are executed in the order they are written.
The document discusses primitive data types in C#, including integer, floating-point, boolean, character, and string types. It defines each type, provides examples of declaring variables of each type and assigning values, and describes literals that can be used to represent values of different types. Key points covered include the name, size, and default value of each primitive type as well as demonstrations of declaring and initializing variables in C#.
India Swipe is a proposed payment gateway company with the objectives of offering services at reduced commission rates, making the payment process seamless for buyers, and collaborating with online retailers. The company plans to allocate 12 employees and expects setup costs of Rs. 51,32,000. It projects processing 1,00,000 transactions per month worth Rs. 5 crores in total, earning Rs. 5 lakhs in revenue monthly at a 1% commission rate. This would allow the company to break even within 12 months.
This document discusses payment gateway options for UAE startups. It provides information on providers like Cashu, InnovatePayments, 2Checkout, and Paypal. It also profiles Network International, the main provider for the UAE. Key points covered include payment gateway costs, example transaction fees, and comparisons of provider pricing. Overall issues addressed are the high upfront costs to set up an e-commerce business and process payments in the UAE.
A payment gateway is a service that allows online businesses to accept electronic payments for items purchased online. It securely transmits information between the customer's bank and the merchant's bank to facilitate processing payments. Common payment gateways include PayPal, Authorize.Net, and WorldPay. Payment gateways provide security for financial transactions online and allow merchants to accept credit card payments with fees for setup and transactions.
The document provides an introduction to object-oriented programming concepts in C++ including objects, classes, data abstraction, encapsulation, inheritance, polymorphism, dynamic binding, and message passing. It then describes the structure of a C++ program including include files, class definitions, data declarations, member functions, and main functions. Finally, it discusses control structures in C++ including decision making statements like if/else and switch statements, looping statements like while, do-while and for loops, and functions.
Every value in Java has a data type. Java supports two kinds of data types: primitive data types and reference data types. Primitive data types represent atomic, indivisible values. Java has eight Numeric data types: byte, short, int,
An operator is a symbol that is used to perform some type of computation on its operands. Java contains a rich set of
operators. Operators are categorized as unary, binary, or ternary based on the number of operands they take. They are categorized as arithmetic, relational, logical, etc. based on the operation they perform on their operands.
long, float, double, char, and boolean. Literals of primitive data types are constants. Reference data types represent
references of objects in memory. Java is a statically typed programming language. That is, it checks the data types of all values at compile time.
Java is an object-oriented programming language. It has keywords, primitive data types like int and double, and variables that are declared with a type. Variables can be initialized statically at declaration or dynamically later. Constants are declared with final and can't be changed.
C++ is an object-oriented programming language created by Bjarne Stroustrup in 1985 that maintains aspects of C while adding object-oriented features like classes. C++ can be used to create small programs or large applications across many domains. Key concepts covered include functions, classes, inheritance, polymorphism, and memory management techniques like realloc() and free().
This document provides an overview of data types in C++. It discusses fundamental data types like int, char, float, and void, as well as derived data types like arrays, functions, pointers, references, constants, classes, structures, unions, and enumerations. For each data type, it provides examples and explanations of how they are used and represented in memory. It also covers data type modifiers, variable declaration and initialization, and input/output stream manipulators for formatting output.
Data types, Variables, Expressions & Arithmetic Operators in javaJaved Rashid
This document covers fundamentals of programming in Java, including data types, variables, expressions, and arithmetic operators. It discusses the 8 primitive data types in Java (byte, short, int, long, float, double, char, boolean), rules for naming variables, how to declare and assign values to variables, and how expressions are evaluated using arithmetic operators. It provides examples of declaring variables of different data types and using variables in expressions and print statements.
The document discusses classes, methods, and objects in C#. It explains that classes define methods and properties, and methods perform actions and can take parameters and return values. It provides examples of commonly used methods in classes like Console, Math, and Random. It also discusses how to define classes with data members and methods, and how to create objects from classes which allows calling instance methods on those objects. Classes serve both as program modules containing static methods and data, and as blueprints for generating objects with their own state and behavior.
This document discusses key concepts in Java programming including classes, methods, parameters, and invoking methods. It explains that a program consists of classes, a class contains methods, and a method contains statements. Methods can take parameters, which are initialized when the method is called and allow passing in values. Parameters act similarly to local variables but are declared in the method signature.
C++ provides classes as templates to define common data structures and algorithms. Classes like vector and list define containers that store and retrieve objects through iterators. Iterators allow traversing container elements without knowing details of the underlying data structure. The Standard Template Library contains many useful container and algorithm classes that take advantage of templates and iterators to provide powerful and flexible generic programming capabilities in C++.
The document discusses pointers in C++. It defines pointers as variables that hold the memory addresses of other variables. It describes how to declare and initialize pointers, use pointer arithmetic and operators like & and *, pass pointers as function parameters, and dynamically allocate and free memory using pointers and operators like new and delete. Pointers allow programs to write efficiently, utilize memory properly, and dynamically allocate memory as needed.
Data types are a classification that identifies the type of data in a computer program. There are primitive data types like integers, floats, booleans, and characters. Composite data types are constructed from primitive types, like arrays, records, tuples, unions, sets, and objects. Type enforcement ensures type safety by restricting operations to appropriate data types at compile or runtime. Well-typed programs avoid type errors that could lead to failures.
The document provides definitions and explanations of key concepts in C++ like encapsulation, inheritance, polymorphism, overriding, multiple inheritance, constructors, destructors, virtual functions, storage qualifiers, functions, pointers, and name mangling. It discusses these concepts over multiple sections in detail with examples.
Revision notes for exam 2011 computer science with C++Deepak Singh
This document provides an overview of computer science concepts in C++ for CBSE Class 12, including structures, classes and objects, constructors and destructors, inheritance, file handling, pointers, arrays, and data structures. It covers basic syntax and examples for each topic, along with assignments and questions for practice. The document is from www.cppforschool.com and is intended to help students prepare for their CBSE board exam by revising key C++ concepts.
This document provides an introduction to object oriented programming with C++. It discusses key concepts such as data types, operators, functions, input/output streams, and classes. Sample code is provided to demonstrate basic C++ syntax and structure, including comments, preprocessor directives, namespaces, the main function, and use of cout and cin for output and input. Functions are described as blocks of code that are called by name, with arguments allowed to pass parameters. The main benefits of C++ compared to C are noted as handling increasing complexity through use of classes.
Object-oriented programming uses abstraction and encapsulation through abstract data types (ADTs). An ADT defines a data type and its interface independently of its implementation. This allows information hiding and modular program design. Common languages like C++, Java, and Ruby support ADTs through classes or modules, which package data with methods, support inheritance and polymorphism, and provide visibility control through private/public access specifiers. Parameterized ADTs allow a data type to work with different element types. Namespaces and packages provide separate scopes to avoid naming conflicts.
FellowBuddy.com is a platform which has been setup with a simple vision, keeping in mind the dynamic requirements of students.
Our Vision & Mission - Simplifying Students Life
Our Belief - “The great breakthrough in your life comes when you realize it, that you can learn anything you need to learn; to accomplish any goal that you have set for yourself. This means there are no limits on what you can be, have or do.”
Like Us - https://www.facebook.com/FellowBuddycom-446240585585480
The document discusses exception handling in C# programs. It explains that exceptions are errors that occur during program execution. The C# try, catch, and finally keywords are used to handle exceptions. The try block contains code that might cause exceptions. The catch block handles specific exception types. The finally block contains cleanup code that always executes. Built-in exceptions like DivideByZeroException are part of the .NET Framework. Exception handling prevents program crashes and allows graceful handling of errors.
This document discusses the basic elements of programming languages and sequential structures. It covers data types, variables, input/output statements, arithmetic expressions, assignment statements, and function calls. Data can be manipulated using variables, which have attributes like type, lifespan, and scope. Common statements include input to read data, process statements like assignments, and output statements to display results. Expressions are used to evaluate values. Programs follow a sequential structure where statements are executed in the order they are written.
The document discusses primitive data types in C#, including integer, floating-point, boolean, character, and string types. It defines each type, provides examples of declaring variables of each type and assigning values, and describes literals that can be used to represent values of different types. Key points covered include the name, size, and default value of each primitive type as well as demonstrations of declaring and initializing variables in C#.
India Swipe is a proposed payment gateway company with the objectives of offering services at reduced commission rates, making the payment process seamless for buyers, and collaborating with online retailers. The company plans to allocate 12 employees and expects setup costs of Rs. 51,32,000. It projects processing 1,00,000 transactions per month worth Rs. 5 crores in total, earning Rs. 5 lakhs in revenue monthly at a 1% commission rate. This would allow the company to break even within 12 months.
This document discusses payment gateway options for UAE startups. It provides information on providers like Cashu, InnovatePayments, 2Checkout, and Paypal. It also profiles Network International, the main provider for the UAE. Key points covered include payment gateway costs, example transaction fees, and comparisons of provider pricing. Overall issues addressed are the high upfront costs to set up an e-commerce business and process payments in the UAE.
A payment gateway is a service that allows online businesses to accept electronic payments for items purchased online. It securely transmits information between the customer's bank and the merchant's bank to facilitate processing payments. Common payment gateways include PayPal, Authorize.Net, and WorldPay. Payment gateways provide security for financial transactions online and allow merchants to accept credit card payments with fees for setup and transactions.
SlideShare now has a player specifically designed for infographics. Upload your infographics now and see them take off! Need advice on creating infographics? This presentation includes tips for producing stand-out infographics. Read more about the new SlideShare infographics player here: http://wp.me/p24NNG-2ay
This infographic was designed by Column Five: http://columnfivemedia.com/
No need to wonder how the best on SlideShare do it. The Masters of SlideShare provides storytelling, design, customization and promotion tips from 13 experts of the form. Learn what it takes to master this type of content marketing yourself.
This document provides tips to avoid common mistakes in PowerPoint presentation design. It identifies the top 5 mistakes as including putting too much information on slides, not using enough visuals, using poor quality or unreadable visuals, having messy slides with poor spacing and alignment, and not properly preparing and practicing the presentation. The document encourages presenters to use fewer words per slide, high quality images and charts, consistent formatting, and to spend significant time crafting an engaging narrative and rehearsing their presentation. It emphasizes that an attractive design is not as important as being an effective storyteller.
10 Ways to Win at SlideShare SEO & Presentation OptimizationOneupweb
Thank you, SlideShare, for teaching us that PowerPoint presentations don't have to be a total bore. But in order to tap SlideShare's 60 million global users, you must optimize. Here are 10 quick tips to make your next presentation highly engaging, shareable and well worth the effort.
For more content marketing tips: http://www.oneupweb.com/blog/
This document provides tips for getting more engagement from content published on SlideShare. It recommends beginning with a clear content marketing strategy that identifies target audiences. Content should be optimized for SlideShare by using compelling visuals, headlines, and calls to action. Analytics and search engine optimization techniques can help increase views and shares. SlideShare features like lead generation and access settings help maximize results.
A Guide to SlideShare Analytics - Excerpts from Hubspot's Step by Step Guide ...SlideShare
This document provides a summary of the analytics available through SlideShare for monitoring the performance of presentations. It outlines the key metrics that can be viewed such as total views, actions, and traffic sources over different time periods. The analytics help users identify topics and presentation styles that resonate best with audiences based on view and engagement numbers. They also allow users to calculate important metrics like view-to-contact conversion rates. Regular review of the analytics insights helps users improve future presentations and marketing strategies.
Each month, join us as we highlight and discuss hot topics ranging from the future of higher education to wearable technology, best productivity hacks and secrets to hiring top talent. Upload your SlideShares, and share your expertise with the world!
Not sure what to share on SlideShare?
SlideShares that inform, inspire and educate attract the most views. Beyond that, ideas for what you can upload are limitless. We’ve selected a few popular examples to get your creative juices flowing.
How to Make Awesome SlideShares: Tips & TricksSlideShare
Turbocharge your online presence with SlideShare. We provide the best tips and tricks for succeeding on SlideShare. Get ideas for what to upload, tips for designing your deck and more.
SlideShare is a global platform for sharing presentations, infographics, videos and documents. It has over 18 million pieces of professional content uploaded by experts like Eric Schmidt and Guy Kawasaki. The document provides tips for setting up an account on SlideShare, uploading content, optimizing it for searchability, and sharing it on social media to build an audience and reputation as a subject matter expert.
The document provides an overview of object-oriented programming concepts in C++. It discusses key OOP concepts like objects, classes, encapsulation, inheritance and polymorphism. It also covers procedural programming in C++ and compares it with OOP. Examples are provided to demonstrate creating classes, objects, functions, constructors and destructors. The document contains information on basic C++ programming concepts needed to understand and implement OOP principles in C++ programs.
C is a widely used general-purpose programming language that can be used to develop complex software like operating systems and databases. It has four basic data types - integer, character, floating-point, and double floating-point. Constants are declared using the const keyword and cannot change value during program execution. Operators perform actions on operands like arithmetic, relational, logical, and assignment operations. Conditional statements and loops allow control flow and repeated execution of code. Header files contain function declarations and macro definitions included using the #include directive. Structures group related variables under a single name. Functions perform specific tasks. Strings are arrays of characters terminated by a null character. C is a mid-level language providing both low-level and high
C is a widely used general-purpose programming language that can be used to develop complex software like operating systems and databases. It supports basic data types like integers, characters, and floating-point values. Constants are declared using the const keyword and cannot change value during program execution. C includes various operators like arithmetic, relational, logical, and bitwise operators to perform operations. Conditional statements and loops allow for control flow and repeated execution of code. Header files contain function declarations and macro definitions that can be included using the #include directive. Structures group related data types under a single name. Functions are blocks of code that perform tasks. Strings are arrays of characters terminated by a null character.
The document discusses the Objective-C preprocessor and underlying C language features. It covers preprocessor directives like #define, #import, #include, and #undef. It also discusses arrays, structures, pointers, functions, and how Objective-C works with C at a low level. Blocks in Objective-C are described as being similar to functions but having some differences like needing to be declared in .m files instead of .h headers.
C Language Interview Questions: Data Types, Pointers, Data Structures, Memory...Rowank2
In-depth C programming language interview questions are covered in this post, covering questions on pointers, memory management, data structures, and other advanced subjects. The questions are designed to evaluate the candidate's knowledge of the language's intricacies and sophisticated elements. Candidates can better their language skills and be ready for forthcoming interviews by going through these questions.
This document provides an overview and introduction to the C# programming language. It begins with setting up the environment needed to code in C#, which includes Visual Studio and a Windows PC. The document then discusses basic C# syntax like data types, variables, operators, and conditional statements. It also covers arrays, strings, and encapsulation. The goal is to provide beginners with an understanding of fundamental C# concepts to get started with the language.
This document provides an overview of key concepts in Java programming including:
1) The components of a Java program such as statements, blocks, classes, and methods.
2) How to structure Java source code files with classes and the main method.
3) Common elements in Java programs like variables, data types, operators, and comments.
4) Details on specific concepts like declaring and initializing variables, arithmetic operators, and increment/decrement operators.
This document provides information on various .NET and C# concepts:
1. It begins with an example C# program that multiplies two numbers and prints the result, demonstrating basic program structure and comments.
2. It then covers identifiers, keywords, single-line and multi-line comments in C#, and the differences between value types and reference types.
3. The document concludes by discussing object-oriented programming concepts in C# like classes, constructors, destructors, methods, inheritance, polymorphism, abstraction, interfaces, and abstract classes.
Namespace defines a scope for identifiers used in a program. Reference variables provide an alias for previously defined variables, and their main purpose is passing arguments to functions. C++ defines new and delete operators for allocating and freeing memory. The main() cannot directly access private data members; they must use member functions. A private member function can only be called by another member function of its class. A static member function can be called using the class name as class-name::function-name.
This document provides information about the C# programming language. It discusses that C# is an object-oriented language that can be used to build a variety of applications like Windows and web. Visual C# .NET is Microsoft's integrated development environment (IDE) for building C# applications and is part of the Visual Studio suite. The document also covers C# language fundamentals like variables, data types, operators, and conditional statements.
This document provides information on data types in C++ programming. It begins by explaining that data types identify the type of data that can be stored in a variable, such as integer or boolean, and determine the possible values and operations for that type. It then describes several categories of data types in C++, including primitive, derived, user-defined, and examples of each. Primitive types are basic types predefined by the language like int, float, char. Derived types are built from primitive types, such as arrays and pointers. User-defined types allow creating new types and include enums, structures, and unions. The document provides examples of basic programs using various data types.
This document provides an introduction and overview of the C programming language. It discusses the history and development of C, why C is still widely used today despite newer languages, and shows a simple "Hello World" example as a first C program. The document also covers basic C programming concepts like data types, variables, constants, and input/output functions. It provides examples of declaring variables, assigning values, and using the printf statement to output values.
Structures-Declaring and Initializing, Nested structure, Array of Structure, Passing Structures to functions, Unions, typedef, enum, Bit fields.
Pointers: Declarations, Pointer arithmetic, Pointers and functions, call by value, Call by reference, Pointers and Arrays, Arrays of Pointers, Pointers and Structures. Meaning of static and dynamic memory allocation, Memory allocation functions.
Files: File modes, File functions, and File operations, Text and Binary files, Command Line arguments Preprocessor directives. Macros: Definition, types of Macros, Creating and implementing user defined header files
This document provides an overview of the C programming language. It discusses the basics of C programming including data types, variables, constants, keywords, operators, input/output statements, decision-making statements, and looping statements. It also covers basic C program structure, storage classes, and introduces different programming paradigms like procedural, structured, object-oriented and monolithic programming.
C is a general-purpose programming language initially developed for system development like operating systems. It produces efficient code nearly as fast as assembly language. The document provides an overview of basic C programming concepts including data types, variables, functions, arrays, structures, pointers, strings, input/output operations, and preprocessor directives. It also gives examples of basic "Hello World" program structure and syntax.
Guide to Networking in Canada for Newcomers
TOPICS to Discuss
Definition for Networking
Importance of Networking
Types of Networking
General Networking
Face-to-Face Networking
Online Networking
How to Start Networking
Tips for Networking
Canada for Newcomers - Economy and Employment.
Topic:
Government and types of Government in Canada.
Education system in Canada.
Economy and Employment Opportunities in Ontario
Economy and Employment Opportunities in British Columbia
Economy and Employment Opportunities in Quebec.
Winters in Toronto - Self help guide for New Immigrants (PR's, Open Work Perm...Mufaddal Nullwala
Winters in Toronto - Self help guide for New Immigrants (PR's, Open Work Permit , Close Work Permit, Students)
Topic:
Winter Clothing
Importance of Winter Clothing
Winter Foods
Healthy and Tasty Foods during the Winter
Winter Activities
For Adults
For Children
ORGANISATIONAL MANAGEMENT - BOOK REVIEW - COMMUNICATING WITH EMPLOYEES IMPROV...Mufaddal Nullwala
The document outlines a book review on improving organizational communication with employees. It discusses objectives for communication like evaluating effectiveness. It also covers ways organizations communicate, how to plan successful communication programs, and tools for communication. The conclusion emphasizes that effective communication improves productivity, retention, and relationships in an organization.
FINANCIAL ANALYSIS - BOOK REVIEW - FAULT LINES - HOW HIDDEN FRACTURES STILL T...Mufaddal Nullwala
Contents:
Background
Challenges faced by U.S
Let Them Eat Credit
Exporting to Grow
Flighty foreign financing
Weak Safety Net
From Bubble to bubble
When money is the measure of all worth
Betting the bank
Reforming Finance
Broad Principles Of Reform
Eliminating “Too Systemic to Fail”
Resilience
Improving access to opportunity in America.
Multilateral institutions & their influence
Obtaining global influence
China and The World
Persuading China
What lies Ahead for INDIA
1. What is Energy
2. Type of Energy
3. What is Energy Audit
4. Definition of Energy Audit
5. The Need for Energy Audit
6. Why Energy Audit
7. Preliminary Energy Audit
8. Targeted Energy Audit
9. Energy Pyramid
10. Energy Costs in Indian Scenario
1. History of Product Differentiation
2. Product Differentiation Strategy
3. Cost and Benefits of Product Differentiation
4. Types of Product Differentiation
5. Bases of Differentiation
6. Differentiating Factors
7. Differentiation & Porter’s 5 Force Model
8. Advantages of Product Differentiation
9. Competitive Advantages
10. Value for Product Differentiation
11. Differentiation and Segmentation
12. Case Study – Micromax
13. Case Study – Pizza Hut
14. Conclusion
Introduction to Blockchain
History of Blockchain
How Blockchain works
Blockchain platforms
Blockchain consensus/validation algorithms
Proof-of-work algorithm (PoW)
Practical byzantine fault tolerance algorithm (PBFT)
Proof-of-stake algorithm (PoS)
Delegated proof-of-stake algorithm (DPoS)
Who uses blockchain
Advantages and disadvantages of blockchain
This document provides an overview of robotic process automation (RPA). It defines RPA as using software robots to automate repetitive tasks previously done by humans. The document discusses the evolution and benefits of RPA, including improved efficiency, cost savings, and employee productivity. It also outlines common RPA applications, implementation steps, top vendors, and considerations for C-level executives when adopting an RPA strategy. The market for RPA is expected to reach $5 billion by 2024 due to increased adoption by organizations seeking to enhance capabilities and reduce costs through automation.
1) Introduction
2) Fast Moving Inventory Model
3) ECommerce Comparision
4) Business Model
5) Complaint Management System (CMS)
6) Inventory Management System
7) Business Strategy
8) Customer Relationship Management.
Business Ethics - Metaphysics of Morals by Immanuel KantMufaddal Nullwala
Business Ethics - Book Review - Metaphysics of Morals by Immanuel Kant.
1) Biography of Immanuel Kant
2) Kant’s Concept on Morality
3) Chapter 1 – Goodwill
4) Chapter 1 – The Notion of Duty and Maxim
5) Chapter 2 - Transition from popular Moral Philosophy to the Metaphysic of Morals
6) Chapter 3 - Transition from the Metaphysics of Morals to the critique of pure practical reason
Indian Economy & Startups generating Business & JobsMufaddal Nullwala
Indian Economy & Startups- Generating Business & Jobs:
Indian economy is world's seventh largest economy by nominal GDP.
Amongst all the sectors contributing to the economy, service sector has its largest share and most of it comes from the IT. The expansion of IT sector has been led by the innumerable start-ups in the economy.
Marketing Management - Brand Building (eg.of Big Bazaar, WestSide, Globus)Mufaddal Nullwala
The document discusses marketing strategies for three Indian retail brands: Big Bazaar, WestSide, and Globus. It provides an introduction to each brand and discusses their 7P analyses, products, pricing, placement, promotion, people, processes, and physical evidence. For Big Bazaar, it outlines the company's history and covers their taglines, pricing techniques, store features, product ranges, SWOT analysis, and advertising approaches. For WestSide, it discusses their mission, market research, retail layout, and promotion. For Globus, it summarizes the brand's history, vision, goals, brands, and competitors.
BUSINESS PLAN
For
R-TRIBHA
(UTILIZATION OF WASTE)
Coverage :
1) Idea Generation
2) Product’s Detail
3) Equipment's
4) Process Technology
5) Space Required
6) Investment
7) Market & Pricing
8) Organization Structure & People Requirement
9) Designing Role Expectation of the Top Management
10) Performance Projection for next 5 years
11) Profit & Loss A/C for next 5 years
12) Return on Investment
13) Payback Period
1) How the ILO come into being ?
Who founded the International Labour Organization (ILO) ?
What was the purpose of the International Labour Organisation ?
India, a Founding Member of the ILO, has been a permanent member of the ILO Governing Body since 1922. The first ILO Office in India started in 1928.
2) Mission and impact of the ILO
ILO is devoted to promoting social justice and internationally recognized human and labour rights
Only tripartite U.N. agency, the ILO brings together governments, employers and workers representatives of 187 member States
Today, the ILO's Decent Work agenda helps advance the economic and working conditions that give all workers, employers and governments a stake in lasting peace, prosperity and progress
3) Overview of ilo in india
ILO's current portfolio in India centers around the following:
Child labour
Preventing family indebtedness
Employment
Skills
Integrated approaches for local socio-economic development and livelihoods promotion
Green jobs
Value-addition into national programmes
Micro and small enterprises
Social security
HIV/AIDS
Migration
Industrial relations
Dealing with the effects of globalization
Productivity and Competitiveness, etc.
4) OVERVIEW OF LABOUR MARKET IN INDIA (2015-16)
GDP growth rate reached 7.6% in 2015-16, up from 5.6 per cent in 2012-13
Vast majority of workers are in informal jobs
Growth in agriculture and related activities was estimated at just 1.2 %, while growth in the industrial and services sectors reached 7.4 % and 8.9 % respectively, in 2015-16
Employment growth picked up pace from 2009-10 to 2011-12, but gender gaps remain
Youth unemployment is high in urban areas
Organizational Change
Forces for Change
Case Study – General Motors
Planned vs Unplanned Change
Case Study – Coca Cola
Resistance to Change
Dealing with Resistance
Case Study – Uber
Approaches to Change Management
Case Study – Merger of ING Vysa and Kotak Mahindra Bank
The document discusses principles of change management. It outlines various models for managing organizational change, including Lewin's three-step model of unfreezing, movement, and refreezing. Forces driving change include competition and leadership transitions. Resistance to change stems from individual habits and organizational inertia. Approaches to reduce resistance involve communication, participation, and implementing changes fairly.
Origins and domain of Knowledge Management
Technological development
Characteristics of knowledge
Knowledge Management as a Management Tool
Critical elements of Knowledge Management strategy
Tactic Knowledge Management
Knowledge Management and Process Performance
Outsourcing Concept
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveScyllaDB
Want to learn practical tips for designing systems that can scale efficiently without compromising speed?
Join us for a workshop where we’ll address these challenges head-on and explore how to architect low-latency systems using Rust. During this free interactive workshop oriented for developers, engineers, and architects, we’ll cover how Rust’s unique language features and the Tokio async runtime enable high-performance application development.
As you explore key principles of designing low-latency systems with Rust, you will learn how to:
- Create and compile a real-world app with Rust
- Connect the application to ScyllaDB (NoSQL data store)
- Negotiate tradeoffs related to data modeling and querying
- Manage and monitor the database for consistently low latencies
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Impelsys Inc.
Impelsys provided a robust testing solution, leveraging a risk-based and requirement-mapped approach to validate ICU Connect and CritiXpert. A well-defined test suite was developed to assess data communication, clinical data collection, transformation, and visualization across integrated devices.
Role of Data Annotation Services in AI-Powered ManufacturingAndrew Leo
From predictive maintenance to robotic automation, AI is driving the future of manufacturing. But without high-quality annotated data, even the smartest models fall short.
Discover how data annotation services are powering accuracy, safety, and efficiency in AI-driven manufacturing systems.
Precision in data labeling = Precision on the production floor.
This is the keynote of the Into the Box conference, highlighting the release of the BoxLang JVM language, its key enhancements, and its vision for the future.
Artificial Intelligence is providing benefits in many areas of work within the heritage sector, from image analysis, to ideas generation, and new research tools. However, it is more critical than ever for people, with analogue intelligence, to ensure the integrity and ethical use of AI. Including real people can improve the use of AI by identifying potential biases, cross-checking results, refining workflows, and providing contextual relevance to AI-driven results.
News about the impact of AI often paints a rosy picture. In practice, there are many potential pitfalls. This presentation discusses these issues and looks at the role of analogue intelligence and analogue interfaces in providing the best results to our audiences. How do we deal with factually incorrect results? How do we get content generated that better reflects the diversity of our communities? What roles are there for physical, in-person experiences in the digital world?
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul
Artificial intelligence is changing how businesses operate. Companies are using AI agents to automate tasks, reduce time spent on repetitive work, and focus more on high-value activities. Noah Loul, an AI strategist and entrepreneur, has helped dozens of companies streamline their operations using smart automation. He believes AI agents aren't just tools—they're workers that take on repeatable tasks so your human team can focus on what matters. If you want to reduce time waste and increase output, AI agents are the next move.
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...SOFTTECHHUB
I started my online journey with several hosting services before stumbling upon Ai EngineHost. At first, the idea of paying one fee and getting lifetime access seemed too good to pass up. The platform is built on reliable US-based servers, ensuring your projects run at high speeds and remain safe. Let me take you step by step through its benefits and features as I explain why this hosting solution is a perfect fit for digital entrepreneurs.
Book industry standards are evolving rapidly. In the first part of this session, we’ll share an overview of key developments from 2024 and the early months of 2025. Then, BookNet’s resident standards expert, Tom Richardson, and CEO, Lauren Stewart, have a forward-looking conversation about what’s next.
Link to recording, presentation slides, and accompanying resource: https://bnctechforum.ca/sessions/standardsgoals-for-2025-standards-certification-roundup/
Presented by BookNet Canada on May 6, 2025 with support from the Department of Canadian Heritage.
Semantic Cultivators : The Critical Future Role to Enable AIartmondano
By 2026, AI agents will consume 10x more enterprise data than humans, but with none of the contextual understanding that prevents catastrophic misinterpretations.
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025BookNet Canada
Book industry standards are evolving rapidly. In the first part of this session, we’ll share an overview of key developments from 2024 and the early months of 2025. Then, BookNet’s resident standards expert, Tom Richardson, and CEO, Lauren Stewart, have a forward-looking conversation about what’s next.
Link to recording, transcript, and accompanying resource: https://bnctechforum.ca/sessions/standardsgoals-for-2025-standards-certification-roundup/
Presented by BookNet Canada on May 6, 2025 with support from the Department of Canadian Heritage.
Quantum Computing Quick Research Guide by Arthur MorganArthur Morgan
This is a Quick Research Guide (QRG).
QRGs include the following:
- A brief, high-level overview of the QRG topic.
- A milestone timeline for the QRG topic.
- Links to various free online resource materials to provide a deeper dive into the QRG topic.
- Conclusion and a recommendation for at least two books available in the SJPL system on the QRG topic.
QRGs planned for the series:
- Artificial Intelligence QRG
- Quantum Computing QRG
- Big Data Analytics QRG
- Spacecraft Guidance, Navigation & Control QRG (coming 2026)
- UK Home Computing & The Birth of ARM QRG (coming 2027)
Any questions or comments?
- Please contact Arthur Morgan at [email protected].
100% human made.
Big Data Analytics Quick Research Guide by Arthur MorganArthur Morgan
This is a Quick Research Guide (QRG).
QRGs include the following:
- A brief, high-level overview of the QRG topic.
- A milestone timeline for the QRG topic.
- Links to various free online resource materials to provide a deeper dive into the QRG topic.
- Conclusion and a recommendation for at least two books available in the SJPL system on the QRG topic.
QRGs planned for the series:
- Artificial Intelligence QRG
- Quantum Computing QRG
- Big Data Analytics QRG
- Spacecraft Guidance, Navigation & Control QRG (coming 2026)
- UK Home Computing & The Birth of ARM QRG (coming 2027)
Any questions or comments?
- Please contact Arthur Morgan at [email protected].
100% human made.
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfPrecisely
Structured Languages
1. Name Roll No
Mufaddal Nullwala 15-I-131
MIM Second Year (2015 – 18)
STRUCTURED LANGUAGE
JBIMS MIM Sem-IV
Structured Language
2. Object Oriented Programming, Need and
Characteristics
Basic Data Types and Modifiers
Arrays, Classes and Objects
Pointers, Reference, Difference between
Pointers and Reference
Inheritance, Constructors, Destructors and
Polymorphism.
3. Why we need OOPs in Programming language?
Procedure
Oriented
Programmin
g
Object
Oriented
Programmi
ng
4. Characteristics of Object Oriented Programming
Abstraction: Abstraction means showing essential features and hiding non-
essential features to the user.
For Eg: Yahoo Mail...
When you provide the user name and password and click on submit button..It will
show Compose, Inbox, Outbox, Sent mails...so and so when you click on
compose it will open...but user doesn't know what are the actions performed
internally....It just Opens....that is essential; User doesn't know internal actions
...that is non-essential things...
For Eg: TV Remote..
Remote is a interface between user and TV. Which has buttons like 0 to 10 ,on
/of etc but we don't know circuits inside remote. User does not need to know.
Just he is using essential thing that is remote.
5. Encapsulation: Encapsulation means which binds the data and code (or) writing
operations and methods in single unit (class).
For Example:
A car is having multiple parts like steering, wheels, engine etc. which binds together
to form a single object that is car. So, Here multiple parts of cars encapsulates itself
together to form a single object that is Car.
In real time we are using Encapsulation for security purpose...
Encapsulation = Abstraction + Data Hiding.
6. Polymorphism :
Polymorphism means ability to take more than one form that an operation
can exhibit different behavior at different instance depend upon the data
passed in the operation.
1) We behave differently in front of elders, and friends. A single person is
behaving differently at different time.
2) A software engineer can perform different task at different instance of time
depending on the task assigned to him .He can done coding , testing ,
analysis and designing depending on the task assign and the requirement.
7. While doing programming in any
programming language, we need to use
various variables to store various information.
Variables are nothing but reserved memory
locations to store values. This means that when
we create a variable, it reserves some space in
memory.
9. Integers are whole number such as 5,39,-1917,0
etc.
They have no fractional part
Integers can have positive as well as negative
value
An identifiers declared as int cannot have
fractional part
10. characters can store any member of the c++
implementation’s basic character set
An identifiers declared as char becomes
character variable
char set is often said to be a integer type
11. A number having a fractional part is a floating-
point number
the decimal point shows that it is a floating-
point number not an integer
for ex-31.0 is a floating-point number not a
integer but simply 31 is a integer
12. It is used for handling floating-point
numbers
It occupies twice as memory as float
It is used when float is too small or
insufficiently precise
13. The void data type specifies an empty set of
values .
It is used as the return type for functions that
do not return a value.
It is used when program or calculation does not
require any value but the syntax needs it.
14. Array
Consecutive group of memory locations
Same name and type (int, char, etc.)
To refer to an element
Specify array name and position number (index)
Format: arrayname[ position number ]
First element at position 0
N-element array c
c[ 0 ], c[ 1 ] … c[ n - 1 ]
Nth element as position N-1
15. Array elements like other variables
Assignment, printing for an integer array c
c[ 0 ] = 3;
cout << c[ 0 ];
Can perform operations inside subscript
c[ 5 – 2 ] same as c[3]
17. When declaring arrays, specify
Name
Type of array
Any data type
Number of elements
type arrayName[ arraySize ];
int c[ 10 ]; // array of 10 integers
float d[ 3284 ]; // array of 3284 floats
Declaring multiple arrays of same type
Use comma separated list, like regular variables
int b[ 100 ], x[ 27 ];
18. Initializing arrays
For loop
Set each element
Initializer list
Specify each element when array declared
int n[ 5 ] = { 1, 2, 3, 4, 5 };
If not enough initializers, rightmost elements 0
To set every element to same value
int n[ 5 ] = { 0 };
If array size omitted, initializers determine size
int n[] = { 1, 2, 3, 4, 5 };
5 initializers, therefore 5 element array
19. Classes are templates in real life it has variables,
arrays & functions
Example: Students Admission form consisting of
Full Name, Age, Birthdate, Standard, Class etc.
Bank Account Saving Form
Account Holders Name, Birthdate, Gender,
Residential Address, Office Address etc.
20. Example:
public class student{
String name
Int Age
Proteted Function getStudentInfo(){
Return (info)
}
}
It’s a Template
Stores data
Reusable
It can have subclass
21. • Objects are specific instance of classes, it
contains the information related to the
specific record it has.
• Reference ID
• Information related to the item
22. A pointer is a programming language object,
whose value refers to (or "points to") another
value stored elsewhere in the computer
memory using its memory address.
A pointer references a location in memory, and
obtaining the value stored at that location is
known as dereferencing the pointer.
23. A pointer variable is a variable whose value
is the address of a location in memory.
To declare a pointer variable, you must
specify the type of value that the pointer
will point to, for example,
int* ptr; // ptr will hold the
address of an int
char* q; // q will hold the address
of a char
24. int x;
x = 12;
int* ptr;
ptr = &x;
NOTE: Because ptr holds the address
of x,
we say that ptr “points to” x
2000
12
x
3000
2000
ptr
25. int x;
x = 12;
int* ptr;
ptr = &x;
cout<<*ptr;
NOTE: The value pointed to by ptr is
denoted by *ptr
2000
12
x
3000
2000
ptr
26. int x;
x = 12;
int* ptr;
ptr = &x;
*ptr = 5;
2000
12
x
3000
2000
ptr
5
// changes the value
at the address ptr
points to 5
27. A reference variable is an alias, that is, another
name for an already existing variable.
Once a reference is initialized with a variable,
either the variable name or the reference name
may be used to refer to the variable.
Application : References are primarily used as
function parameters
28. #include <iostream.h>
// Function prototypes
(required in C++)
void p_swap(int *, int *);
void r_swap(int&, int&);
int main (void){
int v = 5, x = 10;
cout << v << x << endl;
p_swap(&v,&x);
cout << v << x << endl;
r_swap(v,x);
cout << v << x << endl;
return 0;
}
void r_swap(int &a,
int &b)
{
int temp;
temp = a; (2)
a = b; (3)
b = temp;
}
void p_swap(int *a,
int *b)
{
int temp;
temp = *a; (2)
*a = *b; (3)
*b = temp;
}
29. 1. No explicit de-referencing is required
2. Guarantee that the reference will not be
NULL (though it may be invalid)
3. References cannot be rebound to
another instance
4. You don’t have to pass the address of a
variable
30. Provides a way to create a new class from an
existing class
The new class is a specialized version of the
existing class
32. Base class (or parent) – inherited from
Derived class (or child) – inherits from the base
class
Notation:
class Student // base class
{
. . .
};
class UnderGrad : public student
{ // derived
class
. . .
};
33. 1) public – object of derived class can be treated
as object of base class (not vice-versa)
2) protected – more restrictive than public,
but allows derived classes to know details of
parents
3) private – prevents objects of derived class
from being treated as objects of base class.
34. Derived class inherits from base class
Public Inheritance (“is a”)
Public part of base class remains public
Protected part of base class remains protected
Protected Inheritance (“contains a”)
Public part of base class becomes protected
Protected part of base class remains protected
Private Inheritance (“contains a”)
Public part of base class becomes private
Protected part of base class becomes private
35. An object of a derived class 'is a(n)' object of the
base class
Example:
an UnderGrad is a Student
a Mammal is an Animal
A derived object has all of the characteristics of
the base class
36. An object of the derived class has:
• All members defined in child class
• All members declared in parent class
An object of the derived class can use:
• All public members defined in child class
• All public members defined in parent class
37. • A derived class can have more than one
base class
• Each base class can have its own access
specification in derived class's definition:
class cube : public square,
public rectSolid;
class
square
class
rectSolid
class
cube
38. Problem: what if base classes have member
variables/functions with the same name?
Solutions:
Derived class redefines the multiply-defined
function
Derived class invokes member function in a
particular base class using scope resolution
operator ::
Compiler errors occur if derived class uses
base class function without one of these
solutions
39. A class constructor is a special member function of
a class that is executed whenever we create new
objects of that class.
A constructor is a special member function whose
task is to initialize the objects of its class.
It is special because its name is same as the class
name.
The constructor is invoked whenever an object of
its associated class is created.
It is called constructor because it constructs the
values of data members of the class.
40. A constructor will have exact same name as the
class and it does not have any return type at all,
not even void.
Constructors can be very useful for setting
initial values for certain member variables.
Constructors can not be virtual.
43. Destructor is a special class function which
destroys the object as soon as the scope of
object ends. The destructor is called
automatically by the compiler when the object
goes out of scope.
The syntax for destructor is same as that for the
constructor, the class name is used for the
name of destructor, with a tilde ~ sign as prefix
to it.
44. Destructors are special member functions of the
class required to free the memory of the object
whenever it goes out of scope.
Destructors are parameter less functions.
Name of the Destructor should be exactly same
as that of name of the class. But preceded by ‘~’
(tilde).
Destructors does not have any return type. Not
even void.
47. Polymorphism is the capability of a method to do
different things based on the object .
In other words, polymorphism allows you define one
interface and have multiple implementations.
1. It is a feature that allows one interface to be
used for a general class of actions.
2. An operation may show different behavior in
different instances.
3. The behavior depends on the types of data used
in the operation.
4. It plays an important role in allowing objects
having different internal structures to share the
same external interface.
5. Polymorphism is extensively used in
implementing inheritance.
48. There are two types of
polymorphism in java :
1. Runtime polymorphism (Dynamic
polymorphism)
2. Compile time polymorphism (static
polymorphism).
49. Method overriding is a perfect example of Runtime
polymorphism. In this kind of polymorphism,
reference of class X can hold object of class X or an
object of any sub classes of class X. For e.g. if class Y
extends class X then both of the following statements
are valid:
51. Method Overloading is a perfect example of
compile time polymorphism. In simple
terms we can say that a class can have
more than one methods with same name
but with different number of arguments or
different types of arguments or both.