Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

nitin sethi

Ranch Hand
+ Follow
since Jul 14, 2011
nitin likes ...
Android Eclipse IDE Java
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
3
Received in last 30 days
0
Total given
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by nitin sethi

Hi Sohaib,

I agree with you that reading just the theory wont be as fruitful as doing a project and so, as I get confidence enough by going through, say half of the book, I would start with a project. Thanks for the suggestion. I appreciate it a lot.

-- Nitin Sethi
8 years ago
Tim, Thanks for the reply. I have read the same FAQ. Is the book suitable for a newbie in programming? I zeroed in on those 2 books reading the reviews in Amazon. I chose to post the query in this forum as I want to start with a book which would be more suitable for me. I would give due consideration to the book suggested by you. Waiting for a few more suggestions.
8 years ago
Hi All,

I am thinking of starting to learn Android and want to make a career switch from System support involving a bit of programming in Pro*C and SQL to Android development. For the record, I am a OCPJP 6 certified programmer with no professional Java coding experience. I believe I have learnt the core Java concepts pretty well during my preparation for OCPJP 6 exam. Could you suggest which book between the two I have mentioned I should buy to make my mark in the exciting new world of Android Programming. I prefer a book more than the online materials. My aim of reading a book is to acquire enough knowledge and skills to be able to write decent Android apps.

Busy coder's guide to android development by Mark Murphy Vs O'Reilly's Android Programming?

I have read the Android FAQ which lists only the Mark Murphy's book.

-- Nitin Sethi
8 years ago
Jeffrey, could you please why do you think C can't be an answer ?
Hi Selvam,

A PAN card or the company ID card or a the college ID card would server the purpose. You can call your test center directly and ask them about what they accept.
8 years ago
Samir,

The questions were easier than the Self-test questions in the K&B book.
One thing I noticed was: Each line of code will have a Line Number. So, if you can see only the code snippet, e.g. the 1st line you can see is say Line 10th of the actual code, then you can safely assume that all the required imports are there in the 1st 9 lines of code. So, please don't mark Compilations Fails for the snippets only questions for the reason that you can't see the import statements.

wait(), notify() and notifyAll() all are no longer in the course. However, you might need to have a brief idea on them.

Best of luck for the exam.
8 years ago
Try to print the Keys for String objects in the TreeMap declared (e.g "one" ). You would be clearer about the methods used and that would help you to get the answer to your question.
It does not print Java because you are printing the variable s of an object whose state (meaning variable s) you are not changing through your program statement xi.s = "joly"; .
Please note that the above program creates 2 objects with the default value for the instance variable s as Java. Your program changes that default value for just one of those objects which is NOT being printed by your program.
Thanks a lot Arjun.
8 years ago
Hey thanks Arulk.. !!
8 years ago
Hi All,

Finally took my exam yesterday and scored a modest 85%. I wasn't sure if its a good enough score until i realised i could answer 51/60 questions correctly. That's a decent rate I guess. Thanks to this wonderful wonderful forum which I used to clear any doubts I had.

.. Nitin Sethi
8 years ago
To add to the list:

1. It's legal to do an instance of test for any non-final class with an interface.
2. StringBuilder and StringBuffer classes don't have the concat method and hence the concatenation operator (+) does not work with only them.
3. A non-nested class can’t be static.
4. A method may be declared final in which case it cannot be hidden or overridden.
Kaydell,

Could you please explain the below?

2. You can shadow variables, but not local variables in a block within the same method.

Could anyone confirm if the below is the exact classification for checked and unchecked exception?


1. Throwable (checked)
1.1 Error (unchecked)
1.1.1 unchecked hierarchy
1.2 Exception (checked)
1.2.1 checked hierarchy
1.2.2 RuntimeException (unchecked)
1.2.2.1 unchecked hierarchy

Wonder why the same code didn't work and threw an Exception the 1st time I tried?