|
-
Jan 25th, 2007, 07:46 AM
#1
Thread Starter
New Member
Simple java (bluej) questions
(I am Dutch so it can be hard to understand )
1:
Are these two statements wrong or right? :
statement1: if (s1.equals (s2)) is true, is (s1 == s2) also true?
statement2: if (s1 == s2) is true, is (s1.equals (s2)) also true?
s1 and s2 are 2 objects with type String
2:
What are the rules for the expression behind a return statement.
3:
How can it be that when you call a method, there can be more then 1 method with the same name within one Class. Hoe can you see the difference between these two?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|