-
Notifications
You must be signed in to change notification settings - Fork 0
/
to do
43 lines (27 loc) · 1.64 KB
/
to do
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Java Links
http://www.buggybread.com/2014/04/java-interview-questions-and-answers-on_412.html
http://java67.blogspot.in/2012/09/top-10-tricky-java-interview-questions-answers.html
http://www.programcreek.com/2014/05/inheritance-vs-composition-in-java/
http://stackoverflow.com/questions/49002/prefer-composition-over-inheritance
java scope
private means "only visible within the enclosing class".
protected means "only visible within the enclosing class and any subclasses, and also anywhere in the enclosing class's package".
private, therefore, has no meaning when applied to a top-level class; the same goes for the first part of the definition of protected. The second part of protected could apply, but it is covered by the default (package-protected) modifier, so protected is part meaningless and part redundant.
Both private and protected can be (and frequently are) applied to nested classes and interfaces, just never top-level classes and interfaces.
-----------------------------------------------------------------------------------------------
android adb issue
sudo apt-get install lib32z1 lib32z1-dev lib32stdc++6
-----------------------------------------------------------------------------------------------
algorithm links
http://www.geeksforgeeks.org/sort-an-array-of-0s-1s-and-2s/
--------------------------------------------------------------------------------------------------
database
1-mysql/sql
2-mongo db
3-redis
---------------------------------------------------------------------------------------------------
api
json api
rest
soap
----------------------------------------------------------------------------------------------------