Technical Interview Questions and Answers :: TCS
- Select All
- SQL
- Java
- C++
- WebMethod
- Informatica
- C
- DBMS
- Operating System
- Soft. Engineering
- Data Structure
- Networking
- Hadoop
- HR Question in TR
91 / 158
Encapsulation is binding of attributes and behaviors. Hiding the actual implementation and exposing the functionality of any object. Encapsulation is the first step towards OOPS, is the procedure of covering up of data and functions into a single unit (called class). Its main aim is to protect the data from out side world.
92 / 158
This means if one member variable of union is updated then the rest will be updated as well. This also leads compilation error when initializing multiple members at a time as the memory locations are not different. So in case of union only one member should be initialized at a time.
93 / 158
1.memory.
2.easy to declare.
94 / 158
No Discussion on this question yet!
95 / 158
No Discussion on this question yet!
96 / 158
No Discussion on this question yet!
97 / 158
No Discussion on this question yet!
98 / 158
No Discussion on this question yet!
99 / 158
we can use library function to perform the specific operation without writing our own code.
100 / 158
Stack is a sequential datastructure which will follow last in first out (LIFO) rules. The mainly operations of stack are : push pop peer empty and full.
Qeque is also a sequential datastructure which will work on First In First Out(FIFI) . It is the datastructure with restriction that the insertion will be performed from one end and deletion from the another end with help of front and rear. The mainly operations will be performed are : enque and deque operations .
We can implement both by using an array (i.e. static implementation ) and another is using linklist that is dynamic implementation.
TCS technical question, technical interview questions in TCS, technical interview questions of TCS, technical interview questions TCS, TCS technical questions, technical round in TCS, technical round questions for TCS, technical round questions in TCS