Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
Site Owners Forums - Webmaster ForumsCalendarContact Us

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > Java


 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 03-10-2006, 12:55 PM   #1
NovicOne
Registered User
 
Join Date: Mar 2006
Posts: 1
Any Java Source for 16 Questions

I have been assigned to complete 45 questions using any Java source avaialble. I have found all except 16 of them in my Java book. This source was mentioned by the instructor as available. Could you please spend a minute to T or F them?

1. T or F. Static methods must be declared before dynamic methods in a class.

2. T or F. Static methods can access static variables of a class, but instance methods cannot.

3. T or F. You can override instance methods in a subclass.

4. T or F. If b is of class B and doit() is an instance method defined in B, then b.doit() always refers to the doit() from class B.

5. T or F. Static methods cannot access the private instance variables of of an object, but they can access the public instance variables.

6. T or F. More than one class can exist in a file, but classes cannot be nested.

7. T or F. Instance variables can be initialized when they are declared.

8. T or F. Local variables do not have an initial value by default.

9. T or F. A Java class can inherit from two unrelated classes.

10. T or F. A Java class can implement two unrelated interfaces.

11. T or F. Two classes cannot be defined in the same file since that would mean the file would have to have two different names.

12. T or F. Vectors may vary in size up to a fixed upper bound.

13. Effective use of vector elements requires casting.

14. Explain what super() does.

15. Explain what super(m) does.

16. Explain what super.print() does.

Thank you!
NovicOne is offline   Reply With Quote

 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
java app slee Java 0 03-08-2006 05:52 AM
?veiwing source codes? ChrstnWbmstr General Discussion 5 12-15-2003 01:57 PM
a panorama presentation 4 java brandon General Discussion 2 12-07-2002 01:53 AM
Need help formatting source code output! asiemer ASP 7 08-01-2002 02:19 PM
Do I need java script on my site? unnatural nate Java 6 03-21-2002 08:06 AM


All times are GMT -7. The time now is 02:59 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Kindly hosted by OH Telecom servers (get one!)
Site Delivered By Liberty Of Mind - #1 Adult & Mainstream Solutions Provider

Virtual Dedicated Server     Advertise