BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

Friend Class and Friend Functions in C++

Last Updated: September 12, 2017 by Chaitanya Singh | Filed Under: Learn C++

As we know that a class cannot access the private members of other class. Similarly a class that doesn’t inherit another class cannot access its… [Read More]

Pass and return Object from a function in C++

Last Updated: September 12, 2017 by Chaitanya Singh | Filed Under: Learn C++

In this tutorial we will see how to pass an object to a function as an argument and how to return an object from a… [Read More]

Enumeration in C++

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

Enum is a user defined data type where we specify a set of values for a variable and the variable can only take one out… [Read More]

Structure and Function in C++

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

In this previous tutorial we learnt about structures, the compound data type that groups different types of variables. In this tutorial, we will learn how… [Read More]

Structures in C++

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

Structure is a compound data type that contains different variables of different types. For example, you want to store Student details like student name, student… [Read More]

Interfaces in C++: Abstract Class

Last Updated: September 12, 2017 by Chaitanya Singh | Filed Under: Learn C++

In C++, we use terms abstract class and interface interchangeably. A class with pure virtual function is known as abstract class. For example the following… [Read More]

Abstraction in C++ with example

Last Updated: September 12, 2017 by Chaitanya Singh | Filed Under: Learn C++

Abstraction is one of the feature of Object Oriented Programming, where you show only relevant details to the user and hide irrelevant details. For example,… [Read More]

Encapsulation in C++ with example

Last Updated: September 12, 2017 by Chaitanya Singh | Filed Under: Learn C++

Encapsulation is a process of combining data members and functions in a single unit called class. This is to prevent the access to the data… [Read More]

Virtual functions in C++: Runtime Polymorphism

Last Updated: September 12, 2017 by Chaitanya Singh | Filed Under: Learn C++

In this guide, we will see what are virtual functions and why we use them. When we declare a function as virtual in a class,… [Read More]

Difference between Function Overloading and Function overriding in C++

Last Updated: September 12, 2017 by Chaitanya Singh | Filed Under: Learn C++

Function overloading and Function overriding both are examples of polymorphism but they are completely different. Before we discuss the difference between them, lets discuss a… [Read More]

  • 1
  • 2
  • 3
  • 4
  • Next Page »

Copyright © 2012 – 2026 BeginnersBook . Privacy Policy . Sitemap