VMWare Inc Interview Question for Software Engineer in Tests






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

final class means this class can not be inherited. if the data members are not final variables, they can be altered.

- rookie May 02, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Example is String class. You can change the data (not exactly strings are immutable). In certain cases, developers needs guarantee about the class. e.g. If someone inherited String class and modified behavior of some methods (substring etc), it will have side-effects on rest of the program. Hence String class is final. However you can change the content of the String itself.

- sagar May 12, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Its not String class .Its StringBuilder class.Both these classes are final but In stringBuilder class objects are mutable.In string class Sting objects are immutablei.e they are declared final.

- Anonymous November 25, 2011 | Flag
Comment hidden because of low score. Click to expand.
-1
of 1 vote

rocket science!!!

- baghel April 23, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

lol!! :D hahahaha!!!

- kddev1109 May 13, 2011 | Flag


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