• build path errors are resolved

    Build path errors are resolved : Eclipse

    How to remove “Build path errors are resolved” errors from eclipse when we run simple java program? Error [ Build path errors are resolved ] Reason : JRE file does not set properly Step 1 : Right Click on Project -> Properties -> Java Build Path -> Library Step 2 : Double Click on JRE System Library […]

  • array object

    Array Object : Cpp Program : 4

    How to use array object for accessing public method and private variable : Cpp Program This is 4th Cpp Program with array object. In this program we will see how to use class variable with array object. Program 4 : #include<iostream.h> #include<conio.h> #include<string.h> class Employee { private: int ENo; char Ename[50]; public: void setData(int No, char name[50]) { ENo =No; […]

  • multiple object

    Multiple Object : Cpp Program : 3

    How to use multiple object for accessing public method and private variable : Cpp Program This is 3rd Cpp Program with multiple object. In this program we will see how to use class variable with multiple object. Program 3 : #include<iostream.h> #include<conio.h> #include<string.h> class Employee { private: int ENo; char Ename[50]; public: void setData(int No, char name[50]) { […]

  • Cpp Program

    Cpp Program : 2

    How to access private variable from class’s public method : Cpp Program   This is second Cpp Program with private variable. In this program, we will see how to access private variable using class’s public method. Program 2 : #include<iostream.h> #include<conio.h> #include<string.h> class Employee { private: int ENo; // private variables char Ename[50]; public: void setData()  // […]