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 |
Wednesday, October 31, 2018
Oracle - SQL - PLSQL - RDBMS
3. Oracle In-Built Function
4. PL/SQL Programming - 1 , PL/SQL Programming - 2
5. Set Operation(Union,Intersect, Minus), Oracle Exception ,
6. Cursor Introduction , Explicit Cursor, Explicit Cursor Life Cycle , Explicit Cursor Attribute
,Implicit Cursor, Cursor Variable,
7. Group By and Having, Order By Statement
8. Notes for Installation: Oracle Installation Guide 11g Database
Web Link
1. Triggers : Definition, Application, Type.
Tuesday, October 30, 2018
C Plus Plus
Advantage of OOPS, Main Function Program,
Structure of C++ Program,Tokens,
2. Function, Types of the Function, Function Overloading,
3. Passing Argument
4. Constructor - Definition, Program
5. Polymorphism, Types of Polymorphism, Static Binding,
Dynamic Binding, Operator Overloading,
Unary Operator Overloading, Binary Operator Overloading,
6. Pointer
7. One Liner Definition
Java
Handwritten
1. Java History, C++ Vs Java, Java Environment, Java Program Structure, Tokens ,
Difference-MutiThreading Vs Mutltasking, Class Vs Interface, Overloading Vs Overriding, Why main is public static void main
Difference-MutiThreading Vs Mutltasking, Class Vs Interface, Overloading Vs Overriding, Why main is public static void main
2. JVM (Java Virtual Machine), Class,
3. Packages - System/User Defined
PPT created by Student
1. Operators
2. Conditional and Looping Statement
3. Classes and Objects
4. Array
Monday, October 8, 2018
कन्सट्रक्टर
1. कन्सट्रक्टर एक फंक्सन है जिसका नाम एवं क्लास का नाम एक होता है।
2. सीप्लसप्लस में क्लास के मेंमबर वरियेबल को सीधे इनिषियलाईज नही किया जा सकता है। सीप्लसप्लस मेंमबर वरियेबल कन्सट्रक्टर के माध्यम से इनिषियलाईज किया जाता है।
3. कन्सट्रक्टर को रिटर्न टाइप एवं वाईड टाईप नही डिफाइन होता है।
4. कन्सट्रक्टर स्वतः ही काल हो जाता है उसे अलसे काल करने की आवष्यकता नहीं होती है।
5. कन्सट्रक्टर को ओवर लोड किया जा सकता है।
6. कन्सट्रक्टर में डिफाल्ट आरगुमेंट हो सकता है।
Tuesday, July 24, 2018
C++ Console Input/Output Function
/* This file contains program related to console input and output */
#include
#include
// 1. Program shows the application of setf function for left padding
int main()
{
cout.width(20);
cout.setf(ios::left,ios::adjustfield);
cout.fill('*');
cout<<"IT";
}
//2. Program shows the application of setf function right padding
int main()
{
cout.width(20);
cout.setf(ios::right,ios::adjustfield);
cout.fill('*');
cout<<"IT";
}
//3. Program shows the application of internal
int main()
{
cout<<-3 .15="" n="" p=""> cout.width(20);
cout.setf(ios::internal,ios::adjustfield);
cout.fill('*');
cout<<-3 .15="" p="">}
//4. Program shows the application scientific
int main()
{
cout<<-3 .15="" n="" p=""> cout.width(20);
cout.setf(ios::scientific,ios::floatfield);
cout.fill('*');
cout<<-3 .15="" p="">}
//5. Program to print of Hexa Decimal, Octal, Decimal No.
int main()
{
int x = 65;
cout.width(20);
cout.setf(ios::hex,ios::basefield);
cout<<"\n Hexa -> "< cout.setf(ios::oct,ios::basefield);
cout<<"\n Octal -> "< cout.setf(ios::dec,ios::basefield);
cout<<"\n Dec -> "<}
-3>-3>-3>-3>
#include
#include
// 1. Program shows the application of setf function for left padding
int main()
{
cout.width(20);
cout.setf(ios::left,ios::adjustfield);
cout.fill('*');
cout<<"IT";
}
//2. Program shows the application of setf function right padding
int main()
{
cout.width(20);
cout.setf(ios::right,ios::adjustfield);
cout.fill('*');
cout<<"IT";
}
//3. Program shows the application of internal
int main()
{
cout<<-3 .15="" n="" p=""> cout.width(20);
cout.setf(ios::internal,ios::adjustfield);
cout.fill('*');
cout<<-3 .15="" p="">}
//4. Program shows the application scientific
int main()
{
cout<<-3 .15="" n="" p=""> cout.width(20);
cout.setf(ios::scientific,ios::floatfield);
cout.fill('*');
cout<<-3 .15="" p="">}
//5. Program to print of Hexa Decimal, Octal, Decimal No.
int main()
{
int x = 65;
cout.width(20);
cout.setf(ios::hex,ios::basefield);
cout<<"\n Hexa -> "<
cout<<"\n Octal -> "<
cout<<"\n Dec -> "<
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. ...