Tuesday, November 20, 2018
Monday, November 12, 2018
Database Connectivity ( NetBean Configuration)
Step-2: Right click on database following window will popup
Step-3:
Step-4:
Step-5:Give your username, password, service ID.
Step-6: Click
Test Button to Check The Connectivity: It Connection is successful then message
will be displayed in the screen.
Step-7:Select
Schema (User Name)
Step-8:Connection
String will be generated by NetBean
Step-9:
Monday, November 5, 2018
Sunday, November 4, 2018
Inheritance Programs in C++
Ref: Kamthane.
/*C++ program to demonstrate example of private simple inheritance.*/
#include
using namespace std;
class A
{ private:
int a;
protected:
int x; //can access by the derived class
public:
void setVal(int v)
{ x=v; }
};
class B:private A
{
public:
void printVal(void)
{
setVal(10); //accessing public member function here //protected data member direct access here
cout << "value of x: " << x << endl;
}
};
int main()
{
B objB; //derived class creation
objB.printVal();
return 0;
}
/* C++ program to demonstrate example of multilevel inheritance.*/
#include
using namespace std;
//Base Class : class A
class A
{
private:
int a;
public:
void get_a(int val_a)
{ a=val_a; }
void disp_a(void)
{ cout << "Value of a: " << a << endl; }
};
class B: public A
{
private:
int b;
public:
void get_b(int val_a, int val_b)
{
get_a(val_a); //assign value of a by calling function of class A
b=val_b;
}
void disp_b(void)
{
//display value of a
disp_a();
cout << "Value of b: " << b << endl;
}
};
//Here class C is derived class and B is Base class
class C: public B
{
private:
int c;
public:
//assign value of a from here
void get_c(int val_a, int val_b,int val_c)
{
/*** Multilevel Inheritance ***/
//assign value of a, bby calling function of class B and Class A
//here Class A is inherited on Class B, and Class B in inherited on Class B
get_b(val_a,val_b);
c=val_c;
}
void disp_c(void)
{
disp_b(); //display value of a and b using disp_b()
cout << "Value of c: " << c << endl;
}
};
int main()
{
//create object of final class, which is Class C
C objC;
objC.get_c(10,20,30);
objC.disp_c();
return 0;
}
---------------------
/* C++ program to demonstrate example of Multiple inheritance.*/
class A
{
protected:
int a;
}
class B
{
protected:
int b;
}
class C
{
protected:
int c;
}
class D
{
protected:
int d;
}
class E:public A,B,C,D
{
int e;
public:
void getdata()
{
cout<<"\n Enter the values of a,b,c,d,e";
cin>>a>>b>>c>>d>>e;
}
void showdata()
{
cout<<"\n Values of a"<
Saturday, November 3, 2018
Proejct Table Structures - Setting General Tables
Master Tables
|
Country_Master | |
id | Auto Generated |
code | Auto Generated |
Name | User Input |
ShortName | User Input |
createby | Logged in User |
createdate | System Date |
updateby | Logged in User |
updatedate | System Date |
STATUS | User Input |
Type_Master | |
id | Auto Generated |
code | Auto Generated |
Name | User Input |
createby | Logged in User |
createdate | System Date |
updateby | Logged in User |
updatedate | System Date |
STATUS | User Input |
SubType_Master | |
id | Auto Generated |
code | Auto Generated |
Name | User Input |
typeid | Ref - Type_Master |
createby | Logged in User |
createdate | System Date |
updateby | Logged in User |
updatedate | System Date |
STATUS | User Input |
User_Master | |
id | Auto Generated |
code | Auto Generated |
F_NAME | User Input |
M_NAME | User Input |
L_NAME | User Input |
USER_NAME | |
PASSWORD | User Input |
TYPEID | Ref - Type_Master |
FIRST_LOGIN | Auto Generated |
EXPIRYDATE | Auto Generated |
PASSUPDATE | Auto Generated |
createby | System Date |
createdate | Logged in User |
updateby | System Date |
updatedate | User Input |
STATUS | User Input |
First_Load (Back End table) | |
COMPANY_CODE | |
COMPANY_NAME | |
SOFTWARE_VERSION | |
SOFTWARE_NAME | |
MAINSCREEN_PATH | |
MOBILE_NO1 | |
MOBILE_NO2 | |
WEBSITE | |
ADDRESS | |
TAG_LINE | |
PHONE_NO | |
createby | |
createdate | |
updateby | |
updatedate | |
STATUS | User Input |
SETTING_MASTER | |
ID | Auto Generated |
CODE | Auto Generated |
FORM_NAME | User Input |
FORM_NAME_MENU | User Input |
FORM_PATH | User Input |
createby | Logged in User |
createdate | System Date |
updateby | Logged in User |
updatedate | System Date |
STATUS | User Input |
Subscribe to:
Posts (Atom)
Financial Year Oracle PLSQL Program
CREATE OR REPLACE function FINANCIAL_YEAR(p_date DATE) return varchar2 IS v_first varchar2(4); v_second varchar2(4); v_year...
-
Data warehouse systems have gained popularity as companies from the most varied industries realize how useful these systems can be...
-
List of Projects of Project for Computer Science and Application Students 1. Railway Reservation & Inquiry System 2. ...