Thursday, April 18, 2024

Liimrasoft Academy - Online IT Courses Training

At LiimraSoft Academy, we are dedicated to providing unparalleled opportunities for professional growth and advancement in the ever-evolving landscape of technology and business. 

With a commitment to excellence and innovation, our academy offers a diverse range of courses designed to equip individuals with the skills and knowledge needed to thrive in today's competitive market.

At the core of LiimraSoft Academy's philosophy is a student-centric approach that prioritizes practical learning and real-world application. 

Our experienced instructors leverage industry expertise to deliver engaging and interactive courses that foster critical thinking, problem-solving, and creativity.


Comprehensive Course Offerings

Whether you are looking to enhance your technical skills, master the latest software tools, or delve into the intricacies of business management, LiimraSoft Academy has you covered.

From Digital Marketing, AI & ML, Data Science, Data Analytics, ServiceNow and more. our comprehensive course offerings cater to diverse interests and career aspirations.


Cutting-Edge Curriculum

At LiimraSoft Academy, we understand the importance of staying ahead of the curve in an ever-changing technological landscape. 

That's why our curriculum is regularly updated to reflect the latest industry trends, emerging technologies, and best practices. 

Our courses are designed to provide students with the knowledge and skills needed to thrive in today's dynamic and fast-paced environment.


Hands-On Learning

We believe that the best way to learn is by doing. 

That's why our courses emphasize hands-on learning experiences, allowing students to apply their newfound knowledge in real-world scenarios. 

From coding exercises and software simulations to case studies and projects, our hands-on approach ensures that students develop practical skills that are immediately applicable in the workplace.


Flexible Learning Options

At LiimraSoft Academy, we understand that everyone's learning journey is unique. 

That's why we offer flexible learning options to accommodate diverse schedules and learning preferences. 

Whether you prefer instructor-led classes, self-paced online courses, or customized corporate training programs, we have a solution that fits your needs.

Sunday, February 5, 2012

CONCEPTS OF OBJECT ORIENTED PROGRAMMING


CONCEPTS OF OBJECT ORIENTED PROGRAMMING:

1.Class
2.Object
3.Inheritance
4.Interface
5.Abstract Class
6.Overriding
7.Polymorphism (or ) Overloading

1.Class:

A class is simply a representation of a type of object. It is the blueprint/ plan/ template that describe the details of an object. A class is the blueprint from which the individual objects are created. Class is composed of three things: a name, attributes, and operations.
Examples 1
public class Student
{
}

2.Object:

An object can be considered a thing that can perform a set of related activities. The set of activities that the object performs defines the object’s behavior.
In pure OOP terms an object is an instance of a class.
Examples 2
Student objectStudent = new Student();
In Example 2 we can say that the student object, named objectStudent, has created out of the Student class.

3.Inheritance:

Ability of a new class to be created, from an existing class by extending it, is called inheritance.
Examples 3
public class Exception
{
}
public class IOException : Exception
{
}
In Example 3 the new class (IOException), which is called the derived class or subclass, inherits the members of an existing class (Exception), which is called the base class or super-class. The class IOException can extend the functionality of the class Exception by adding new types and methods.

4.Interface:

An interface is type definition similar to a class except that it purely represents a contract between an object and a user of the object. An interface cannot be directly instantiated as an object. No data members can be defined in an interface. Methods and properties can only be declared, not defined. To prefix the name interfaces with’I’ like IDisposable, ISerializable, ICloneable, IEnumerator, etc.
Examples 4
interface IShape
{
void Draw();
double X { get; set; }
double Y { get; set; }
}
Implementing an interface is simply done by inheriting off the interface and then defining all the methods and properties declared by the interface.
Examples 5
class Square : IShape
{
private double mX, mY;
public void Draw() { … }
public double X
{
set { mX = value; }
get { return mX; }
}
public double Y
{
set { mY = value; }
get { return mY; }
}
}

5.Abstract Class:

Abstract class can be simply defined as incomplete classes. Abstract classes contain one or more incomplete methods called abstract methods. The abstract class only provides the signature or declaration of the abstract methods and leaves the implementation of these methods to derived or sub-classes. Abstract method and abstract classes are marked with the abstract keyword. An abstract class itself must be marked with the abstract keyword. Since abstract classes are incomplete, they cannot be instantiated. The class inheriting an abstract class and implementing all its abstract methods is called the concrete of the abstract class.
Examples 6
abstract class TaxCalculator
{
protected double itemPrice;
protected double tax;
public abstract double CalculatorTax();
public double Tax
{
get { return tax };
}
public double ItemPrice
{
get { return itemPrice };
}
}

6.Overriding:

Override modifier is to modify a method, a property, an indexer, or an event. An override method provides a new implementation of a member inherited from a base class. The method overridden by an override declaration is known as the overridden base method. The overridden base method must have the same signature as the override method. You cannot override a non-virtual or static method. The overridden base method must be virtual, abstract, or override. An override declaration cannot change the accessibility of the virtual method. Both the override method and the virtual method must have the same access level modifier.
Examples 7
public class Employee
{
public virtual void GetPayCheck()
{
}
public void Work()
{
}
}
public class Executive : Employee
{
GetPayCheck method;
public override void GetPayCheck()
{
}
public void AdministerEmployee()
{
}
}

7.Polymorphism (OR) Overloading:

Polymorphism is the ability for classes to provide different implementations of methods that are called by the same name. In example 8 how polymorphism would work, here’s a different class that implements the same interface but has different code. Polymorphism allows us to define methods in a base class and override them with derived class implementations.
Examples 8
public class MyLogger
{
public void LogError(Exception e)
{
}
public bool LogError(Exception e, string message)
{
}
}

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | SharePoint Demo