Seshu wrote:
> Core java is enough but in some cases Collections are also required
> for Android Applications.
>
Collections are part of core Java.
Awdhesh Jha wrote:
> You should be know only core java for it.
Well, that rather begs the question of how much Java one needs to know.
You have to know as much Java as you need to know, in other words?
> Sadhna Upadhyay wrote:
>
>> i everybody,
>> haw much java [sic] knowledge is required for android [sic],
actually i [sic]
>> have very little knowledge about java [sic].
Check out the Java tutorials. The initial ones won't take you long to work
through and it will give you a flavor of how hopeless you are. The chapter
titles on the rest will be instructive.
Indeed, you should know the collections classes rather well. You should
understand and be competent in concurrent programming. You should be
able to write a Java program that doesn't crash. You should know why
(Assume there exists your own 'Foo' class defined accordingly.)
Map<String, Foo> fooferol = new HashMap<String, Foo>();
Foo foo = new Foo();
foo.setName("Fred");
fooferol.put("Fred", foo);
foo.setName("Francine");
fooferol.put("Francine", foo);
for (String name : fooferol.keySet())
{
System.out.println(name +": "+ fooferol.get(name));
}
works the way it does.
(You'll need to add more code to make that compilable and runnable.)
--
Lew
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en