Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-15-2008, 09:34 PM
Member
 
Join Date: Jun 2008
Posts: 2
shankhas is on a distinguished road
8 questions I dont understand while studying for SCJP
Hi all,
I want to give my SCJP exam sometime this month. I was reading A Concise and Comprehensive Study Guide for SCJP by Dr. Paul S Sanghera. I would like to ask the learned members of this forum you a few queries that I have. I shall be grateful if you would kindly find time to reply me with your valuable suggestions

1. I know that: If a class is declared final, it means the class cannot be extended, and a final method cannot be overridden. If the element declared final is a variable, that means the value of the variable is constant, and cannot be changed.

My question is: If a final variable is inherited in another class, can it be accessed? And can its value be changed?

2. My question is: Could you please give an example of method call conversion of object reference types?

3. My question: Is it possible to inherit the main() method?

4. My question is: What are anonymous inner classes? Where are they used practically? How are they defined? What is their scope? Can they access variables of the outer class? If so how?

5. Can inner classes be defined inside a method? What is their scope? Can they access the variables within the method? Can they access the variables of the outer class?

6. Are all methods defined in java.lang.Math static?

7. What are factory methods?

8. My question: Can interfaces have classes?


Thanks for your help!
waiting for your quick reply!
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-16-2008, 05:15 AM
Fubarable's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 898
Fubarable is on a distinguished road
Most of this can be easily looked up. I counter your questions with a couple of my own: Have you looked these up and wouldn't it be wise for you to present your answers and justifications here first before asking for other's advice?

This would serve two purposes. It would demonstrate that you've done your own work first, and will give a starting point for answers to your questions.

Good luck.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-16-2008, 06:45 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Yes, most of the questions are not directly related with theories of Java. So you can simple write some code and see what happened. In that way you can learn a lot. First make a try.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
400 Mock Exams Questions for SCJP 1.6 kks_krishna Java Announcements 11 01-28-2008 03:47 PM
800 Mock Questions for SCJP 1.6 Enthuware Java Announcements 2 01-16-2008 01:57 PM
Hello! and I need help. I dont know were to start Fall0ut New To Java 8 01-16-2008 01:59 AM
SCJP 1.5 Certification Kit (300+ Questions) kks_krishna Reviews / Advertising 2 01-13-2008 04:36 AM
SCJP 1.6 Certification Kit (350+ Questions) kks_krishna Reviews / Advertising 0 12-30-2007 02:09 PM


All times are GMT +3. The time now is 12:11 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org