My Linux Stuff - Complete Blog For Linux Articles

My Linux Stuff - Complete Blog For Linux Articles

A Website For Complete Linux OS,Step by Step linux Installtion, Linux Tips and Tricks and Linux Stuff and so on... Connect and sharing here....

TOP 50 ENGINEERING COLLEGES IN INDIA 2014

TOP 50 ENGINEERING COLLEGES IN INDIA 2014

This below survey was taken many form many colleges in India. These Top 50 Engineering Colleges in India have Good Infrastructure, Good Environment, Educations , Staff, Placement , Research Activities and other Facilities are good.

Top 10 Government Engineering Colleges in India

Top 10 Government Engineering Colleges in India

These Government Engineering Colleges in India are really good for all kind of stuff like Education , research , Placement and New Innovation Ideas etc... But Getting seat in these colleges are heavy competition in students .....

Top 10 Colleges In India 2014

Top 10 Colleges In India 2014

Indian Institute Of Technology Delhi,Indian Institute Of Technology Bombay,Indian Institute Of Technology Kanpur,Indian Institute Of Technology Madras,Indian Institute Of Technology Kharagpur,Indian Institute Of Technology Roorkee,University Of Delhi,Indian Institute Of Technology Guwahati,University Of Calcutta,University Of Mumbai, National Institute Of Technology,Trichy.

2014 LATEST SURVEY TOP RANKING ENGINEERING COLLEGES IN INDIA

2014 LATEST SURVEY TOP RANKING ENGINEERING COLLEGES IN INDIA

This below survey was taken many form many colleges in India. These Top 100 Engineering Colleges in India have Good Infrastructure, Good Environment, Educations , Staff, Placement , Research Activities and other Facilities are good. If you want to do Engineering as your dream and try out these colleges

Subscribe Now!

Enter your email address:

Tuesday, February 7, 2012

CTS BPO Opening


ob Description:Cognizant Technology Solutions India Ltd Hiring for Freshers-BPO Process for Chennai location. Apply on or before Friday, February 10, 2012
 
Skill Sets:Typing skills ( Atleast 25WPM), Good Communication Skills.
 
Education:Any Graduate
 
Experience:0 to 1 Yrs(Freshers)
 
Job Location:Chennai
 
Contact:04443675550/sahithi.josyula@cognizant.com
 
Address:Cognizant Technology Solutions., New No 165,Old no 110, Menon Eternity Building, St Marys Rd, Alwarpet. Chennai.
 
Other DetailsWalk-in On 7 to 10th Feb. Time:10.00AM to 3.00PM Please read thedisclaimer before applying for this job opening.
 
Job Last Date:Friday, February 10, 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)
{
}
}

Related Posts Plugin for WordPress, Blogger...