Latest Answer: // PROGRAM which prints itself#include#include#include#include#includevoid main() { char ch; clrscr(); fstream fout; fout.open("itself.c",ios::in); ...
I have just started doing OOP design. My experience has been in RDBMS. Where we work with tables, relation between them defined using foreign keys. Can anyone pl. help in designing classes for a simple case here. There are two tables (states, districts). Districts contains stateId as foreign key. So state to district 1-many relation is there. Such things how do we design in oops. Thanx in advance
Latest Answer: In a circular singly linked list also it is possible to use the current pointer and delete all nodes. The pseudo code would be like this: while (curr != null){linkList *ptr = curr->next; free(curr);curr = ptr;} ...
Latest Answer: An abstract class cannot be used on its own but must be first inherited in the derived class. ...
Latest Answer: Hi, Do U Have Any Knowledge of PreCompilers bcoz precompilers are system software by which we can write codes for connect to any database using SQL . the Sql version used in thes precompiler codes is called Embeded SQL ,language with ...
Latest Answer: Basically Java supports only four types of inheritance:1) Single Inheritance2) Multi Level Inheritance3) Hierarchicval Inheritance4) Hybrid InheritanceWe can take support for multiple inheritance also but with the help of Interface. ...
Latest Answer: The advantages of using pointers are: 1: you can work with the address of the variable2: you can reference the variables in more different easiest ways....   e.g int a[10],*b;               b=&a;        if you want to refer ...
Latest Answer: is this auestion refers to how many bits are set to 1 in a value.if that is the question then simply convert that value into bit code....then you can get the answer easily..... ...
Latest Answer: All the solutions above are reading the source code with the files concepts.find a solution where you do not have a source file to read the contents.There is a macro or an attiribute which tells the compiler the name of the program, function or the attribute. ...
Latest Answer: Polymorphism is mainly divided into :1) Run Time polymorphism: a) Virtual function2) Compile Time Polymorphism : a) function overloading ...
View page << Previous 2 3 4 5 [6] 7 8 9 10 11 Next >>

Go Top