The document discusses a workshop on object-oriented programming. It begins with introducing the speaker and providing his credentials and contact information. It then covers key topics in object-oriented programming including classes, objects, namespaces, functions, methods, constructors, destructors, and the four pillars of OOP - encapsulation, inheritance, polymorphism, and abstraction. For each topic, it provides definitions and examples to explain the concepts. It emphasizes that OOP is a programming paradigm based on objects that can contain data and code.
Class & Object are the basic concepts of Object Oriented Programming which revolve around the real-life entities.
In C#, classes support the polymorphism, inheritance and also provide the concept of derived classes and base classes.
Interfaces in Object Oriented Programming Languages, An interface is a programming structure/syntax that allows the computer to enforce certain properties on an object (class).
Object-oriented programming (OOP) with Complete understanding modulesDurgesh Singh
Object-oriented programming (OOP) is the core ingredient of the .NET framework. OOP is so important that, before embarking on the road to .NET, you must understand its basic principles and terminology to write even a simple program. The fundamental idea behind OOP is to combine into a single unit both data and the methods that operate on that data; such units are called an object. All OOP languages provide mechanisms that help you implement the object-oriented model. They are encapsulation, inheritance, polymorphism and reusability. Let's now take a brief look at these concepts.
it describes the main concepts of object oriented programming
For more posts : http://comsciguide.blogspot.com/
For full playlist of Interview puzzles videos : https://www.youtube.com/playlist?list=PL3v9ipJOEEPfI4zt4ExamGJwndkvg0SFc
24 standard interview puzzles: https://www.youtube.com/playlist?list=PL3v9ipJOEEPefIF4nscYOobim1iRBJTjw
Aptitude training playlist link : https://www.youtube.com/playlist?list=PL3v9ipJOEEPfumKHa02HWjCfPvGQiPZiG
for C and C++ questions, that are asked in the interviews, go through the posts in the link : http://comsciguide.blogspot.com/
for more videos, my youtube channel : https://www.youtube.com/channel/UCvMy2V7gYW7VR2WgyvLj3-A
defination for object oriented programming,concept for oops,defination for class,object,member variable,member function,inheritance,parentclass and child class defination,polymorphism,overloading,dataabstraction,encapsulation,constructor and destructor,interfaces and rules,abstract class,object cloning
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Class & Object are the basic concepts of Object Oriented Programming which revolve around the real-life entities.
In C#, classes support the polymorphism, inheritance and also provide the concept of derived classes and base classes.
Interfaces in Object Oriented Programming Languages, An interface is a programming structure/syntax that allows the computer to enforce certain properties on an object (class).
Object-oriented programming (OOP) with Complete understanding modulesDurgesh Singh
Object-oriented programming (OOP) is the core ingredient of the .NET framework. OOP is so important that, before embarking on the road to .NET, you must understand its basic principles and terminology to write even a simple program. The fundamental idea behind OOP is to combine into a single unit both data and the methods that operate on that data; such units are called an object. All OOP languages provide mechanisms that help you implement the object-oriented model. They are encapsulation, inheritance, polymorphism and reusability. Let's now take a brief look at these concepts.
it describes the main concepts of object oriented programming
For more posts : http://comsciguide.blogspot.com/
For full playlist of Interview puzzles videos : https://www.youtube.com/playlist?list=PL3v9ipJOEEPfI4zt4ExamGJwndkvg0SFc
24 standard interview puzzles: https://www.youtube.com/playlist?list=PL3v9ipJOEEPefIF4nscYOobim1iRBJTjw
Aptitude training playlist link : https://www.youtube.com/playlist?list=PL3v9ipJOEEPfumKHa02HWjCfPvGQiPZiG
for C and C++ questions, that are asked in the interviews, go through the posts in the link : http://comsciguide.blogspot.com/
for more videos, my youtube channel : https://www.youtube.com/channel/UCvMy2V7gYW7VR2WgyvLj3-A
defination for object oriented programming,concept for oops,defination for class,object,member variable,member function,inheritance,parentclass and child class defination,polymorphism,overloading,dataabstraction,encapsulation,constructor and destructor,interfaces and rules,abstract class,object cloning
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Object-oriented programming 3.pptx
1. Workshop on
Object-oriented programming
FAHAD HUSSAIN
MCS, MSCS, DAE(CIT)
Computer Science Instructor of well known international Center
Also, Machine Learning and Deep learning Practitioner
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
2. Object-oriented programming
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Object-oriented programming (OOP) is a programming paradigm based on the
concept of "objects", which can contain data, in the form of fields (often known
as attributes or properties), and code, in the form of procedures (often known as
methods). It is the programming concept based on bottom-up approach!
The main aim of OOP is to bind together the data and the functions that operate
on them so that no other part of the code can access this data except that
function.
3. Object-oriented programming
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Pillars of object-oriented programming
1)Encapsulation:
2)Inheritance:
3)Polymorphism:
4)Abstraction:
5)*Exception Handling
4. Class ,Object and Function/Method
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Before going into depth in OOP, let’s understand the 6 basic things!
1. What is class
2. What is object
3. What is namespaces
4. What is function/Method
5. What is Constructor and its types
6. What is Destructors
5. Class ,Object and Function/Method
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Class:
It is a user-defined data type, which holds its own data members and member functions, which can be
accessed and used by creating an instance of that class. A class is like a blueprint for an object.
In simple words, it is a prototype or building block structure for starting work in the OOP
approach!
Object:
An Object is an identifiable entity with some characteristics and behavior. An Object is an
instance of a Class. When a class is defined, no memory is allocated but when it is
instantiated (i.e. an object is created) memory is allocated.
6. Class ,Object and Function/Method
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Function VS Method:
A method is a code block that contains a series of statements according to the requirement
of the program! In OOP = Method and in procedure = Function
Namespaces
Namespaces in C# are used to organize too many classes so that it can be easy to handle the
application. We use System.Console where System is the namespace and Console is the
class. To access the class of a namespace, we need to use namespacename.classname. We
can use using keyword so that we don't have to use complete name all the time.
7. Constructor and its types
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
A constructor is a special method of the class which gets automatically invoked whenever an instance of
the class is created. Like methods, a constructor also contains the collection of instructions that are
executed at the time of Object creation. It is used to assign initial values to the data members of the
same class.
Types of Constructor
• Default Constructor
• Parametrized Constructor (with overload concept)
• Copy Constructor
• Private Constructor
• Static Constructor
8. Constructor and its types
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Default Constructor
A constructor with no parameters is called a default
constructor. A default constructor has every instance of
the class to be initialized to the same values. The
default constructor initializes all numeric fields to zero
and all string and object fields to null inside a class.
9. Constructor and its types
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Parameterized Constructor with overload
A constructor have at least one parameter is called
a parametrized constructor. It can initialize each
instance of the class to different values.
10. Constructor and its types
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Copy Constructor
This constructor will creates an object by copying
variables from another object. Its main use is to
initialize a new instance to the values of an existing
instance.
11. Constructor and its types
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Private Constructor
If a constructor is created with private specifier is known as Private
Constructor. It is not possible for other classes to derive from this
class and also it’s not possible to create an instance of this class.
Points To Remember :
use private constructor when we have only static members.
Using private constructor, prevents the creation of the instances of
that class.
12. Constructor and its types
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Static Constructor (no access modifier, no parameters)
Static Constructor has to be invoked only once in the class and it has been
invoked during the creation of the first reference to a static member in the class.
A static constructor is initialized static fields or data of the class and to be
executed only once.
Points To Remember :
It can’t be called directly.
When it is executing then the user has no control.
It does not take access modifiers or any parameters.
It is called automatically to initialize the class before the first instance created.
13. Constructor
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Important points to Remember About Constructors
• Constructor of a class must have the same name as the class name in
which it resides.
• A constructor can not be abstract, final, and Synchronized.
• Within a class, you can create only one static constructor.
• A constructor doesn’t have any return type, not even void.
• A static constructor cannot be a parameterized constructor.
• A class can have any number of constructors.
• Access modifiers can be used in constructor declaration to control its
access i.e. which other class can call the constructor.
14. Destructors
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Destructors in C# are methods inside the class used to destroy instances of that
class when they are no longer needed. The Destructor is called implicitly by the
.NET Framework's Garbage collector and therefore programmer has no control as
when to invoke the destructor
• In c#, destructors can be used only in classes and a class can contain only one destructor.
• The destructor in class can be represented by using tilde (~) operator
• The destructor in c# won’t accept any parameters and access modifiers.
• The destructor will invoke automatically, whenever an instance of class is no longer needed.
• The destructor automatically invoked by garbage collector whenever the class objects that
are no longer needed in application.
15. Till Now, We have Learn!
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
What is class
What is object
What is namespaces
What is function/Method
What is Constructor and its types
What is Destructor
Theory + Practical in C#,
Thank you Very Much, end of Workshop Part 1
Now, next we will discuss about the pillars from scratch!
16. Workshop on
Object-oriented programming
FAHAD HUSSAIN
MCS, MSCS, DAE(CIT)
Computer Science Instructor of well known international Center
Also, Machine Learning and Deep learning Practitioner
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Workshop Part 2
17. Till Now, We have Learn!
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
What is class
What is object
What is namespaces
What is function/Method
What is Constructor and its types
What is Destructor
Workshop Part 1
18. Object-oriented programming
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Pillars of object-oriented programming
1)Encapsulation:
2)Inheritance:
3)Polymorphism:
4)Abstraction:
5)*Exception Handling
19. Encapsulation
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
In object-oriented programming, encapsulation refers to the
bundling of data with the methods that operate on that data,
or the restricting of direct access to some of an object's
components.
Encapsulation, its can be accessed/done by Access Modifier /
Access Specifier
20. For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Access modifiers (or access specifiers) are keywords in object-oriented
languages that set the accessibility of classes, methods, and other members. Access
modifiers are a specific part of programming language syntax used to facilitate the
encapsulation of components.
In the C#, there are Six access Modifier whereas just for information 4 in Java!
1. Public: The type or member can be accessed by any other code in the same assembly or another assembly that
references it.
2. Private: The type or member can be accessed only by code in the same class or struct.
3. Protected: The type or member can be accessed only by code in the same class, or in a class that is derived from
that class.
4. Internal : The type or member can be accessed by any code in the same assembly, but not from another assembly.
5. Protected Internal : The type or member can be accessed by any code in the assembly in which it is declared, or
from within a derived class in another assembly.
6. Private Protected: It access modifier is a combination of the private and protected keywords. We can access
members inside the containing class or in a class that derives from a containing class, but only in the same
assembly(project). Therefore, if we try to access it from another assembly, we will get an error. (C# 7.0)
In Java
Public Private Protected Default
21. Inheritance
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Object-Oriented programming language is code reuse. This reusability is possible due to the
relationship b/w the classes. Object oriented programming generally support 4 types of
relationships that are: inheritance , association, composition and aggregation. All these
relationship is based on "is a" relationship, "has-a" relationship and "part-of" relationship.
22. Inheritance
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Also, multiple and hybrid level, (preform by interface)
because in C#, and Java these are not allowed using
inheritance!
23. For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Has a relationship:
Association is relation between two separate classes which establishes through
their Objects. Association can be one-to-one, one-to-many, many-to-one, many-to-
many.
In Object-Oriented programming, an Object communicates to other Object to use
functionality and services provided by that object. Composition and Aggregation are
the two forms of association.
Student has a ID, name etc…
also with new keyword!
24. Polymorphism
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
The word polymorphism means having many forms. In
object-oriented programming paradigm, polymorphism is
often expressed as 'one interface, multiple functions’.
25. Polymorphism
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Function Overloading
You can have multiple definitions for the same function name in the
same scope. The definition of the function must differ from each
other by the types and/or the number of arguments in the argument
list. You cannot overload function declarations that differ only by
return type.
26. Polymorphism
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Operator overloading:
The concept of overloading a function can also be applied
to operators. Operator overloading gives the ability to use
the same operator to do various operations.
Let’s understand the concept of + in the code…
27. Till Now, We have Learn!
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
1)What is Encapsulation:
2)Inheritance:
3)Polymorphism (only static or compile time)
Theory + Practical in C#,
Thank you Very Much, end of Workshop Part 2
Now, next we will discuss about the pillars (rest of the) from
scratch in the Last Session (Part 3)!
28. Workshop on
Object-oriented programming
FAHAD HUSSAIN
MCS, MSCS, DAE(CIT)
Computer Science Instructor of well known international Center
Also, Machine Learning and Deep learning Practitioner
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Workshop Part 3
29. Till Now, We have Learn!
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
What is class
What is object
What is namespaces
What is
function/Method
What is Constructor
and its types
What is Destructor
Workshop Part 1
1)What is Encapsulation:
2)Inheritance:
3)Polymorphism (only static
or compile time)
Workshop Part 2
30. Polymorphism
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
The word polymorphism means having many forms. In
object-oriented programming paradigm, polymorphism is
often expressed as 'one interface, multiple functions’.
Method Override … Method Hiding
31. Polymorphism
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Method Hiding:
For hiding the base class method from derived class
simply declare the derived class method with the new
keyword.
32. Method Overriding
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Run Time Polymorphism means overriding a base class method in
derived class by creating a similar function and this can be achieved
by using override & virtual keywords along
with inheritance principle.
By using run time polymorphism, we can override a base
class method in derived class by creating a method with same name
and parameters to perform a different task.
In c#, the run time polymorphism can be achieved by using method
overriding and it is also called as late binding or dynamic binding.
33. Abstraction
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Abstraction is the detail hiding of (implementation hiding).
Abstraction will be done by: Abstract class
• By using Abstraction you can used abstraction 0
to 100%!!!
34. Abstraction
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
Interface (It is special type of class but not exactly
class, containing the abstract method only) also used
for multiple inheritance in C#.
• By using Interface you can used abstraction
100%!!!
• Also, Interface used for multiple level
inheritance in C#, Java!
35. Exception Handling
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
try – A try block is used to encapsulate a region of code. If any code throws an exception within that try
block, the exception will be handled by the corresponding catch.
catch – When an exception occurs, the Catch block of code is executed. This is where you are able to
handle the exception, log it, or ignore it.
finally – The finally block allows you to execute certain code if an exception is thrown or not. For
example, disposing of an object that must be disposed of.
throw – The throw keyword is used to actually create a new exception that is the bubbled up to a try
catch finally block.
The try catch and finally block is a mechanism to detect and handle run-time errors in code.
It is provided by one of the built-in classes for common exceptions. The exceptions are anomalies that
occur during the execution of a program. They can be because of user, logic or system errors. If a user
(programmer) does not provide a mechanism to handle these anomalies, the compiler provide a default
mechanism, which terminates the program execution.
36. Finally
For further assistance, code and slide https://fahadhussaincs.blogspot.com/
What is class
What is object
What is namespaces
What is function/Method
What is Constructor and
its types
What is Destructor
Workshop Day 1, Part 1
1)What is Encapsulation:
2)Inheritance:
3)Polymorphism
(only static or compile time)
Workshop Day 2, Part 2
1)Polymorphism
(only static or compile time)
2) Abstraction VS interface
3) Exception Handling
Workshop Day 3, Part 3
Thank you very much to stay with me!