aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes JCP Questions....Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "JCP Questions....Help" Watch "JCP Questions....Help" New topic
Author

JCP Questions....Help

Mukesh Poddar
Greenhorn

Joined: Jan 14, 2005
Posts: 8
Hi can Anyone help me out in getting the JCP question form the Internet.....

Since However good you are at the concepts but still you require some practice to become perfect and clear your concepts.My understanding is whether you are exprienced or Non. experienced The problem that comes in the exam is Quite diffrent from your Development work...

Please help in this....

OR an somebody start posting atleast some questions....
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
There are lots of mock exams in the Internet, you could find them by simply searching in the net.

Marcus has written one mock exam, you might try:
http://www.examulator.com/

In addition, we will not post any materials with copyrights or without the agreement from the owner in here.

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
pooja jain
greenhorn
Ranch Hand

Joined: Jan 12, 2005
Posts: 213
OK Mukesh ,
Solve my this doubt :



why this code is giving error , as you may know that inner class has access all the members of outer class .

thanks in advance .


:d
Swapan Mazumdar
Ranch Hand

Joined: Jul 23, 2003
Posts: 83
Refering to problem put up by Pooja,
I think that even if inner class can access enclosing class' member variable, in your case inner class has no idea that i ever exist and so it can't be initilized.

Looking at the two scenarios below will be helpful to explain:

Please comment,


( tags added)
[ January 14, 2005: Message edited by: Barry Gaunt ]
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
The i = 10; is an executable assignment statement and it cannot go where it is written.

However, putting it in a method works as the above shows. You can also put it in an instance initializer block like this:


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JCP Questions....Help