Answer:
It will just print 5*4+5 .
But you still need to add " ".
Answer:
d. all of these are possible examples of data redundancy
Explanation:
Redundancy in database management systems (DBMS) is having the same data in more than one place.
If you look at the options, you will see all of them have situation that repeatation of the data.
a. storing the same information in several records
b. repeating data on multiple reports
c. using foreign keys which duplicate the values of primary keys
Answer:
dObject will have 2 (two) instance variables.
Explanation:
Answer:
Answer given below
Explanation:
Program:
1. double balance;
2. try{
3. cout<<"Enter the balance :";
4. cin >> balance;
5. cout<<endl;
6. if(balance < 1000.00)
7. throw balance;
8. cout<<"Leaving the try block."<<endl;
9. }
10. catch(double x){
11. cout<<" Current balance : "<<x<<endl<<"Balance must be greater than 1000.00"<<endl;;
12. }
Answer A:
If we consider the above program lines, try block represents from 2 to 9 lines.
Answer B:
If we consider the above program lines, catch block represents from 10 to 12 lines.
Answer C:
catch block parameter is x and its type is double.
Answer D:
If we consider the above program lines, line number 7 indicates throw statement.