Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z




TCS OOPS Interview Questions
Questions Answers Views Company eMail

is java purely oop Language?

49 30221

What are the OOPS concepts?

106 260426

What is a class?

32 13280

What is encapsulation?

17 11441

What is the difference between pass by reference and pass by value?

12 30888





When will a constructor executed?

5 15929

Can we have a private constructor ?

12 40266

Tell us about yourself.

47 94554

what is virtual function?

26 46643

what is the main difference between c and c++?

386 488511

Definition of Object Oriented Programming in single line?

33 36225

What is the outcome of the line of code "cout< 16 11867


sir plz send me a set of questions that been frequently held in written examination during campus selection.

908

Question In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Question Submitted By :: Sunil Kumar I also faced this Question!! Rank Answer Posted By Re: In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Answer # 1 use copy constructors 0 Shanthila There is something to be taken care in destructor, in copy constructor, suppose the memory is assigned to the embedded member object pointer with the parameter passed value, but if some other objects of different class also are pointing to this memory, then if some one deletes the object then this class member pointer object will become dangling, or if the object is not deleted properly then there will be memory leak. Please suggest the design change required to handle or avoid this situation

978

swapping program does not use third variable

5 4830

Post New TCS OOPS Interview Questions



Un-Answered Questions

what clearance required for 4.5 mva dry type transformer?

914


what is sliding spool valves?

1149


what is excise return, what is form requirement and what is procedure for excise return?

1073


How is Attrition Calculated ?

542


1) How to validate ip address using regex 2)program to increment ip address in python Please find answers to above questions thanks in advance.

367






Is form 38 mandatory to issue c form in up. thru online mode

557


tell me something about aix? what is unix and Aix? tell me the difference? what is special in AIX while compare to other servers? why you have chosen AIx?

2341


substation+ plc system

789


Where voltage are high and current to be interrupted is low the breaker preferred is:

931


How to work definite,over pluxing,revers power,OSR relay

474


What are safety device in vcb and acb?

2070


How TCP/IP Handles Sequencing?

574


what is solution database and how to intigrate the service order with solution database? what is purpose of t.code IS31? wht is the service manager? waiting for feedback

930


3phase motor can be used as a Prime mover for alternator.

489


what is your passion?

915






TCS OOPS Interview Questions
  • Software (1)
  • C (271)
  • STL (1)
  • OOPS (58)
  • C++ General (41)
  • MFC (10)
  • ATL (2)
  • COM DCOM (2)
  • VC++ AllOther (3)
  • PHP (25)
  • Programming Languages AllOther (36)
  • ASP (12)
  • CGI Perl (4)
  • JavaScript (16)
  • VB Script (17)
  • JSP (9)
  • Shell Script (6)
  • Ruby on Rails (2)
  • AngularJS (1)
  • Scripts AllOther (1)
  • SNMP (2)
  • TCP IP (10)
  • Protocols AllOther (11)
  • Networking Administration (19)
  • Networking Security (1)
  • Networking AllOther (8)
  • Visual Basic (14)
  • C Sharp (66)
  • ASP.NET (105)
  • VB.NET (9)
  • ADO.NET (19)
  • IIS (13)
  • Dot Net Framework (16)
  • Dot Net Remoting (10)
  • Dot Net WindowsForms (1)
  • Dot Net General (25)
  • Dot Net AllOther (6)
  • Exchange Server (2)
  • WCF (2)
  • Microsoft Related AllOther (2)
  • Oracle General (51)
  • Architecture (4)
  • Database Management (9)
  • Forms Reports (9)
  • Oracle AllOther (9)
  • SQL Server (75)
  • MySQL (5)
  • Sybase (1)
  • DB Administration (11)
  • DB Development (3)
  • SQL PLSQL (108)
  • Databases AllOther (11)
  • SDK (4)
  • Windows Threads (1)
  • Windows General (1)
  • Windows AllOther (10)
  • Linux Commands (5)
  • Linux IPC (1)
  • Linux Socket Programming (1)
  • Linux System Calls (1)
  • Linux General (5)
  • Linux AllOther (2)
  • Unix Commands (16)
  • Unix Threads (2)
  • Unix IPC (1)
  • Unix General (3)
  • Unix AllOther (15)
  • Solaris Commands (5)
  • Solaris General (3)
  • Solaris AllOther (9)
  • RTOS AllOther (2)
  • Operating Systems General Concepts (15)
  • Data Structures (15)
  • Operating Systems AllOther (5)
  • WinRunner (11)
  • Load Runner (36)
  • QTP (169)
  • Test Director (8)
  • Rational TestSuite (2)
  • Silk Test (1)
  • Automation Testing AllOther (15)
  • Manual Testing (262)
  • QA Concepts (22)
  • Mobile Testing (4)
  • Test Cases (32)
  • Test Documents Reporting (3)
  • Testing AllOther (61)
  • Tomcat (1)
  • Apache (1)
  • Servers AllOther (4)
  • COBOL (118)
  • JCL (53)
  • CICS (11)
  • DB2 (32)
  • IMS (2)
  • IDMS (1)
  • Natural (4)
  • ADABAS (2)
  • REXX (1)
  • Assembler (2)
  • QMF (1)
  • MVS (1)
  • OS390 (1)
  • VSAM (8)
  • Sysplex (1)
  • IBM MainFrame AllOther (6)
  • RPG400 (28)
  • COBOL400 (2)
  • DB400 (4)
  • COOLPLEX (1)
  • IBM AS400 AllOther (8)
  • Core Java (158)
  • Advanced Java (20)
  • Swing (5)
  • EJB (4)
  • Servlets (20)
  • Struts (31)
  • JDBC (11)
  • SunOne (1)
  • J2EE (7)
  • Weblogic (28)
  • Java Networking (2)
  • Java J2EE AllOther (3)
  • J2ME (3)
  • Java Related AllOther (8)
  • Orbix (1)
  • MQSeries (1)
  • Middleware AllOther (2)
  • HTML DHTML (2)
  • XML XSLT RSS (1)
  • SOAP (3)
  • Web Related AllOther (2)
  • Teradata (23)
  • Business Objects (129)
  • Cognos (83)
  • Informatica (273)
  • Actuate (5)
  • Ab Initio (17)
  • Data Stage (90)
  • SAS (38)
  • Micro Strategy (5)
  • ETL (6)
  • Data Warehouse General (22)
  • HR Questions (80)
  • Design Patterns (5)
  • UML (6)
  • OOAD (3)
  • Software Design Tools (1)
  • Requirements Management (2)
  • Project Planning (1)
  • Project Management (3)
  • Software Design AllOther (1)
  • CTC (1)
  • Debugging AllOther (1)
  • Clear Case (2)
  • Version Control AllOther (1)
  • Telecom Routers Switches (2)
  • Telecom Protocols (1)
  • VoIP IP Telephony (1)
  • GSM (2)
  • BlueTooth (2)
  • Telecom General (4)
  • SAP Basis (55)
  • SAP ABAP (165)
  • SAPScript (9)
  • SAP SD (126)
  • SAP MM (23)
  • SAP QM (1)
  • SAP PP (7)
  • SAP PM (2)
  • SAP PS (1)
  • SAP FI CO (111)
  • SAP HR (55)
  • SAP CRM (67)
  • SAP SRM (1)
  • SAP APO (1)
  • SAP Business Warehouse (48)
  • SAP Security (30)
  • SAP Netweaver (1)
  • SAP ALE IDocs (7)
  • SAP B1 (9)
  • SAP Business Objects BO BOBJ (1)
  • SAP AllOther (3)
  • Siebel (10)
  • ERP General (2)
  • Oracle Apps Technical (49)
  • Oracle Apps Financial (68)
  • Oracle Apps Manufacturing (3)
  • Oracle Apps HRMS (3)
  • Oracle Apps SCM (5)
  • 86 Family (3)
  • VLSI (1)
  • Embedded Systems AllOther (2)
  • Client Server Architecture (1)
  • Client Server General (3)
  • Client Server AllOther (2)
  • AI Algorithms (1)
  • AI Neural Networks (1)
  • AI AllOther (1)
  • Digital Certificates (1)
  • Encryption Decryption (1)
  • WebMethods (17)
  • TIBCO (8)
  • EAI AllOther (1)
  • 3D Animation (2)
  • Requirement Management (4)
  • Estimation Analysis (1)
  • Software Quality Analysis (3)
  • Change Request Management (1)
  • Quality Analysis (3)
  • Program Management (2)
  • Configuration Management (1)
  • Micro Biology (1)
  • Bio Technology (1)
  • Bio Informatics (2)
  • Botany (1)
  • Nuclear Physics (1)
  • Organic Chemistry (1)
  • General Chemistry (2)
  • Chemistry AllOther (1)
  • Pharmacy (1)
  • Health Pharma AllOther (1)
  • Cardiology (1)
  • Mathematics (1)
  • General Science (2)
  • Sciences AllOther (3)
  • Civil Engineering (16)
  • Mechanical Engineering (34)
  • Electrical Engineering (137)
  • Electronics Communications (137)
  • Chemical Engineering (3)
  • Aeronautical Engineering (1)
  • Industrial Engineering (4)
  • Instrumentation (12)
  • Automobile Engineering (1)
  • Power Plant Engineering (1)
  • Engineering AllOther (70)
  • Business Administration (8)
  • Marketing Sales (18)
  • Banking Finance (22)
  • Human Resources (31)
  • Personnel Management (1)
  • Industrial Management (2)
  • IT Management (2)
  • Non Technical (5)
  • Business Management AllOther (4)
  • Audit (6)
  • CompanyAffairs CS (2)
  • Taxation (35)
  • Accounting General (37)
  • Accounting AllOther (45)
  • Advertising Media AllOther (1)
  • Call Centre AllOther (80)
  • Fashion Modelling AllOther (1)
  • UPSC General Studies (3)
  • UPSC AllOther (5)
  • SSC Political Science (1)
  • SSC General Science (1)
  • SSC General Studies (4)
  • SSC AllOther (1)
  • RRB (3)
  • CDS (2)
  • NDA (2)
  • POs (2)
  • BSRB Clerical (5)
  • BSRB AllOther (1)
  • Group I (5)
  • Group II History (1)
  • Group II AllOther (2)
  • APPSC AllOther (14)
  • General Knowledge_Current Affairs (47)
  • Government AllOther (7)
  • Law AllOther (5)
  • Tourism Hotel AllOther (1)
  • Funny Interview Questions (5)
  • Everything Else AllOther (14)
  • English (21)
  • General Aptitude (282)
  • Puzzles (41)
  • Placement Papers (67)
  • CCNA (14)
  • Microsoft Certifications (13)
  • Sun Certifications (3)
  • Oracle Certifications (3)
  • ISTQB Certification (2)
  • Certifications AllOther (8)
  • H1B Visa (18)
  • USA Student Visa F1 Visa (6)
  • L1 Visa (17)
  • USA Visitor Visa B2 Visa (1)
  • USA Business Visa B1 Visa (2)
  • USA Dependent Visa H4 Visa (3)
  • UK Visa (5)
  • Germany Visa (1)
  • C Code (20)
  • C++ Code (8)
  • J2SE Code (2)
  • J2EE Code (2)
  • ASP.NET Code (7)
  • VB.NET Code (1)
  • C Sharp Code (2)
  • PHP Code (2)
  • JavaScript Code (7)
  • GATE (7)
  • CAT (2)
  • MAT (1)
  • GMAT (4)
  • OPENMAT (4)
  • C C++ Errors (6)
  • DotNet Errors (2)
  • Oracle Errors (10)
  • SQLServer Errors (4)
  • Scripts Errors (4)