Results 1 to 8 of 8
Thread: Nested(Inner) Classes
- 08-10-2008, 10:40 AM #1
Member
- Join Date
- Jul 2008
- Posts
- 14
- Rep Power
- 0
Nested(Inner) Classes
Nested Classes
1-What are the differences between static and non-static nested classes ?
2-Where a nested class could be non-static/static ? in what condition ?
3-Why a non-static nested class can't have static members ?Last edited by Z.S.Tehrani; 08-10-2008 at 07:47 PM. Reason: I made a mistake and use the word inner istead of nested which made my questions completely illogical
-
Please at least attempt to show some effort here. What do you think the answers should be and why?
To forum members: note that this has been cross-posted on many forums, that in the Sun forums this user has posted other homework questions, has never shown his own work, has never thanked posters who have helped him.Last edited by Fubarable; 08-10-2008 at 01:22 PM.
- 08-10-2008, 03:22 PM #3
Member
- Join Date
- Jul 2008
- Posts
- 14
- Rep Power
- 0
what do you mean by showing some effort ? i didn't get that , if you mean i myself didn't search about them you are wrong i did that for #1 but i didn't get my answer completely and for #2,3 i had no idea about them and i asked others for help because that's what people do when they don't know s.th .
I myself do search about my questions and also ask others for help ,is that wrong ?
You are right i should have thanked who've helped me , i just did that and hope they forgive me .
I try not to post a cross-post again .
- 08-10-2008, 04:03 PM #4
Just curious???
Why do you ask these kinds of questions?
They are like the kind you would ask if you were taking a test or doing homework.
They don't look like the questions a programmer would ask.
Someone trying to learn programming would have a problem with a program and they would post their code with questions.
- 08-10-2008, 04:19 PM #5
Member
- Join Date
- Jul 2008
- Posts
- 14
- Rep Power
- 0
Because , i don't know how to explain , i want to learn the logic of java and i think by learning that i could write my codes better .For writing a good code you should know how things work and behave . don't you think that when you learn logic of a program language well you will be good at it?
- 08-10-2008, 07:03 PM #6
Well there is theoretical knowledge and there is practical knowledge. A programmer should know both. Knowing theory doesn't always make a good programmer.
- 08-10-2008, 07:19 PM #7
Member
- Join Date
- Jul 2008
- Posts
- 14
- Rep Power
- 0
- 08-13-2008, 10:54 AM #8
Member
- Join Date
- Jul 2008
- Posts
- 14
- Rep Power
- 0
Similar Threads
-
nested <ui:repeat> - problem
By hackerofcrackers in forum JavaServer Faces (JSF)Replies: 0Last Post: 06-20-2008, 10:06 AM -
Breaking from nested switch
By javaplus in forum New To JavaReplies: 3Last Post: 02-02-2008, 08:28 AM -
Nested loops?
By gabriel in forum New To JavaReplies: 4Last Post: 08-06-2007, 04:51 PM -
Nested For Loop
By yuchuang in forum New To JavaReplies: 1Last Post: 07-08-2007, 01:11 PM -
Nested Tags JSP
By Marcus in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 06-25-2007, 05:42 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks