Accenture Interview Question for Computer Scientists


Country: India
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
1
of 1 vote

No Error, until you create any object of the class.

- Kuber July 08, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

There will be a compile time error if we inherit a class B from A and class A have constructor private....its not matter we creating an object or not...
so programme 1 give no error and programme2 give compile time error...

- Kavita July 08, 2014 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Yeah right. Go ask your teacher.

- Anonymous July 08, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Programme 1 No error
      Programme 2 Compile time error bocz B is inherited from A and A's constructor is private.

- Kavita July 13, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

DIY, just write compile and check, please dont use careercup as hashmap<question,answer> for any question.

- Anonymous July 15, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

There is no error as the command goes to main function on execution and ends in the main function itself and code has nothing to do with what is going outside main.

- harsh.sidana November 30, 2015 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More