Android Questions Section-1
1.
Which class is extended
by all other classes?
2.
What is the difference
between yielding and sleeping?
3.
What are wrapped
classes?
4.
Does garbage collection
guarantee that a program will not run out of memory?
5.
Can an object's
finalize() method be invoked while it is reachable?
6.
What is a native method?
And Is null a keyword?
7.
Can an anonymous class
be declared as implementing an interface and extending a class?
8.
What is the purpose of
the wait(), notify(), and notifyAll() methods and which class methods they are?
9.
What is the difference
between a static and a non-static inner class?
10.
What is the difference
between the String and StringBuffer/Builder classes?
11.
What is the difference
between the Reader/Writer class hierarchy and the InputStream/
OutputStream class hierarchy?
12 .If
a class is declared without any access modifiers, where may the class be
accessed?
13. Does a class inherit the
constructors of its superclass?
14.
Name four methods every Java class will have?
15.
What does the "final" keyword mean in front of a variable? A method?
A class?
16.What's the difference between == and equals method?
17.What
is it object serialization ?
18.What
modifiers may be used with a top-level class?
19.What
modifiers can be used with a local inner class?
20.
What happens when you invoke a thread's interrupt method while it is sleeping
or waiting?
21.What
is the difference between a field variable and a local variable?
22.What
class allows you to read objects directly from a stream?
23.How
are this() and super() used with constructors?
24.What
is the difference between the File and RandomAccessFile classes?
25. Write
at least four difference between the abstract
class and interface?
26. which
class is used for creating the
“Directories” in file systems?
27.What
is the difference between Enumeration and Iterator?
28. What
is the load factor of HashTable and Vector?
29. What
is the use of “Collections” class and it is available in which package?
30.What
is the difference between Vector and ArrayList?
SECTION – II :
(Android) :
1. Can I write code for
Android using C/C++?
2. What is the difference
between File ,Class and Activity?
3.
What is the use of getSystemService() method and it is from
which class?
4.
What is the super class
for TableRow and TableLayout?
5.
What is the entry point of execution in android?
6.
What is the difference between <permission-tree> and
<permission-group> ?
7.
What is the mojor difference between android 3.1 and 4.0 ?
8.
Which architecture DalvikVirtual Machine follows ? and Write
Difference between DVM and JVM?
9.
What is the use of ImageSwitcher?
10. What is the difference
between TabHost and Tabwidget?
11. How many methods are
used for calling broadcast receiver and what are they?
12. What is sticky intent?
13. What is the use of
cursorFactory class?
14. What is the superclass
of ZoomControls class?
15. Write seven tools in
android?
16. Write a lifecycle method
s of Service Class?
17. What is the difference
between query() and rawquery() methods?
18. onCreateOptionsMenu(Menu
menu) is from which class method?
19. Write atleast five
methods from Context class?
20. What are the parameters
of insert() in sqlite?
21. Write two non abstract
methods form SQLIteOpenHelper class?
22. Which method we can use
for getting the Location Class object?
23. What is the use of
Criteria and GeoCoder Class?
24. What is the difference
between Surface view and VideoView?
25. Write two steps of
coding for getting the phone number?
26. Write a activity
subclasses?
27. What is the super
classes for Toggle Button and ImageButton?
28. What is the purpose of
Intent Receiver ?
29. Does Android support the
Bluetooth serial port profile?
30. What is the super class
for RadioButton and RadioGroup?
No comments:
Post a Comment