Technical Interview Questions and Answers :: Accenture
- Select All
- C
- Java
- C++
- .NET
- SQL
- Informatica
- WebMethod
- Soft. Engineering
- Data Structure
- HR Question in TR
- Operating System
- DBMS
91 / 152
Ø Public, protected and private are three access specifier in C++.
Ø Public data members and member functions are accessible outside the class.
Ø Protected data members and member functions are only available to derived classes.
Ø Private Data members and member functions can’t be accessed outside the class. However there is an exception can be using friend classes.
92 / 152
No Discussion on this question yet!
93 / 152
No Discussion on this question yet!
94 / 152
No Discussion on this question yet!
95 / 152
Delete command and truncate command both will delete the data, however the truncate command can not be rolled back as delete can be. The delete command can be used for selected records using the where clause but with the truncate command we have to loose data. DELETE statement is a logged operation and hence takes more time then truncate.
96 / 152
These statements provide control over use of transactions
START TRANSACTION or BEGIN start a new transaction.
COMMIT - commits the current transaction, making its changes permanent.
ROLLBACK - rolls back the current transaction, canceling its changes.
ROLLBACK TRANSACTION rolls back an explicit or implicit transaction to the beginning of the transaction, or to a savepoint inside the transaction. It also frees resources held by the transaction
97 / 152
No Discussion on this question yet!
98 / 152
No Discussion on this question yet!
99 / 152
No Discussion on this question yet!
100 / 152
No Discussion on this question yet!