Bhaktaraz

Web Enthusiastic, Nature Lover

Archives

What are the different types of disasters? Explain in brief how can you develop disaster recovery plan?

The different types of disasters can be classified into two categories. They are: Natural disasters A natural disaster is a major adverse event resulting from the earth’s natural hazards. Examples of natural disasters are floods, tsunamis, tornadoes, hurricanes/cyclones, volcanic eruptions, earthquakes, heat waves, and landslides. Man-made disasters Man-made disasters are the consequence of technological or

A very first program in c++ with the concept of class

include<iostream.h> using namespace std; class person { private: char name[20]; int age; public: void getdata(void); void dislpay(void); }; void person :: getdata(void) { cout<<“Enter name:”; cin>>name; cout<<“Enter age:”; cin>>age; } void person :: display(void) { cout<<“\nName: “< cout<<“\nAge: “< } int main() { person p; p.getdata(); p.display(); return 0; }

Difference between object-oriented programming (OOP) and procedure-oriented programming (POP)

Difference between object-oriented programming (OOP) and procedure-oriented programming (POP) : OOP POP Emphasis on doing things (procedure). Emphasis on data rather than procedure. Programs are divided into what are known as functions. Programs are divided into what are known as objects. Data move openly around the system from function to function. Data is hidden and

Doctrine 2 Single Class Inheritance (SCI)

Single Class Inheritance is an inheritance mapping strategy where all classes of a hierarchy are mapped to a single database table. In order to distinguish which row represents which type in the hierarchy a so-called discriminator column is used. Things to note: The @InheritanceType, @DiscriminatorColumn and @DiscriminatorMap must be specified on the topmost class that