Adobe Interview Question for Applications Developers


Country: India
Interview Type: In-Person




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

Is there any empty class in the java library.. ? curious..

- teli.vaibhav February 10, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

sometime the ask the size of empty class

- code_jerk January 29, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Well.. may be we can use the empty class to create a unique token.. for utilisation purpose..

- hprem991 January 29, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Well , What do you mean by token...?

- Deepak Singh January 30, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Empty class used for identification only

- Anonymous January 29, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Any real time example where we use empty class ?

- sujeet kumar January 30, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

empty class can be used as the marker using inheritance:

class Marker{
}
class C : Marker{
}

and later the code can call something like:

var c = new C();
if(c is Marker){
}

We sometimes use empty marker interfaces, not classes.

- S.Abakumoff January 30, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

What does the following code sets a context with the question

var c = new C();
if(c is Marker){
}

what do you do eith it.... Pls elaborate

- Anonymous January 30, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

serializable is also empty..its only work to give the identity

- vipin kumar January 30, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

I've always heard Serializable is a marker interface. Does that mean that this interface has no declared methods?

- teli.vaibhav February 10, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Yes, marker interface has no declarations or constants- just an empty body.

- tushar.tb April 04, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

use of empty class is jst to show that two object of class cannot be stored at the same location....

- kuldeep February 11, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

In OOD, if there is a class with no attributes and operatrions, we can delete the class.

- lweipku April 03, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

so, each object have a unique address.

- prashant April 11, 2013 | 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