This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes True False questions for you. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "True False questions for you." Watch "True False questions for you." New topic

True False questions for you.

Salim Sentosa

Joined: Oct 29, 2001
Posts: 6
1) A private instance method of an object can access protected instance variables of that object.
2) If a static method of a class takes an object of that class as argument, it can access private data members of that object.
3) All instances of a class have the same types of instance variables and the same instance methods.
4) Storing numerical data in a binary file usually takes less disk space than using a text file.
5) Without sorting or hashing, the best way to search an array is using sequential search.
Good luck!
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Are you asking these questions out of curiosity or you are just posting homework questions here.

SCJP for the Java� 2 Platform

So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: True False questions for you.
It's not a secret anymore!