Right now, I am learning Java and preparing for SCJP. I am completely new to J2EE, and I request you to let me know the best order of learning the technologies like Servlets, JSP, Javascript, EJB, XML, JSF etc one by one.
Right now, I am learning Java and preparing for SCJP. I am completely new to J2EE, and I request you to let me know the best order of learning the technologies like Servlets, JSP, Javascript, EJB, XML, JSF etc one by one.
Question : An Interface can never be private or protected. Answer: FALSE
That means an interface CAN BE private/protected. But I got a compiler error declaring an interface which is private/protected. Are there any other occasions where an interface can be declared private/protected?
If a checked exception is thrown in the catch block, it MUST also be declared. If a checked exception is thrown inside a method, it must EITHER be caught in a try catch block OR declared. But what happens if we both declare AND catch a checked exception(thrown in a try block and caught in a matching catch block)? Does it generate a compilation error? Should the methods calling the present method declare/catch the exception thrown in the present method?
I am about to write SCJP 1.4 on June 4th. So far I have referred to only Sybex Complete Java 2 Certification Guide . Recently I came to know about K&B book. Here are my doubts:-
1)"SCJP Sun Certified Programmer for Java 5 Study Guide" by K&B, Is this book for 1.4 or 1.5? 2) Will I be able to digest this book in 15 days? (I have already digested Sybex book.)