design patterns used by Android components [closed] - java

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Last time when I was giving an interview the interviewer asked me the question that What are the design patters used by Android components? so I answered it by mentioning design pattern names like MVP, MVC, MVVM, etc so He interrupted me and told that this is the wrong answer and asked me to find out the answer so I googled it but it will show same as I told in the interview room, So anybody know the correct answer, If yes then please help me with this, Any help regarding this is appreciated.

MVP, MVC, MVVM are architectural patterns, not design patterns. I quote an old SO post about the question that you were asked.
Which design patterns are used on Android?

Related

Making a bot for "Plug.dj" [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I want to create a bot for plug.dj.
All this bot would do is type something in the chat every 5 minutes.
I was wondering which language I should use.
I am pretty good at Java.
And how would I make it?
Can some one link an example?
Thank you very much. Sorry if I am asking for much, I just need to get started with this thing.
You could use Node.js with PlugAPI - their documentation is very good and has some examples. Pretty sure this would be the easiest way to do it, don't know of any Plug libraries in Java.

Why are javadocs evil and what's a better alternative? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I recently went for an interview and was requested to submit an example of my production code.
Submitted the code complete with javadocs, but was questioned by the interviewer about my choice of it.
I find javadocs quite useful for understanding code by others and it's really not that much of a legibility issue if I'm using an IDE. Can someone enlighten me on why it may not be recommended and what would be a better alternative in said situation?
Javadocs are not evil, and for Java it's the best you can do to properly document your code.
Being questioned does not mean automatically that what you've done is evil. Questions are mostly to test if you're sure in what you do and if you know more about it or you just made a guess.

Lynda or Treehouse? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am thinking about joining either Lynda or Treehouse to sharpen my coding skills. I was wondering (since they're both paid services) if anyone has any feedback or experience with either of the two. I am also open to new suggestions, too.
thanks
I would try to use as many freely available resources as possible first. Here is a list of free books.
https://stackoverflow.com/questions/194812/list-of-freely-available-programming-books
Also Coursera and other MOOC's can be a great resource.
Personally I've used Treehouse and it helped me somewhat but is too expensive in my opinion.

Resources to help me with Java programming? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am a beginner Java developer and although I tried searching I have yet to find any good books for learning java programming. I am good enough at the basics that I don't need a 'for dummies' book, but I was wondering if anyone has seen a really useful/well written book/website about Java programming. Specifically I would like things to do with GUI or Server/Client communication or Java coding tips.
If this question has already been asked I am sorry, I tried searching but couldn't find what I wanted... Please give me a link to the question instead of downvoting! Thanks

Lamport's logical clock implementation [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm working on a Lamport's logical clock for my college assignment and have to either implement or simulate it.
I'd Google a lot and searched here too but not getting any good result. Will anybody help me out in implementing this?
At least can provide some link or resource helpful to me which java classes of Java-API will be helpful or to be used for the implementation.
The most useful resource is going to be your own mind. Re-read the paper. What is the essential condition under which a Lamport clock is correct? (Hint -- you can guarantee one event happened after another.)
Have a look at this presentation. This tutorial is also helpful.
Then try to write out a description of the algorithm and how it works. Draw pictures.

Categories