[java programming] Re: Homework Question

2009-01-19 Thread miga
On Jan 20, 6:20 am, Srini S wrote: > Hi, > > I understand that we need to zip all the homework before submission > using jar command. I have created a folder called "Java" in my C: > drive and working from that folder. It says to use command "jar cvf > MyGreatestValueProject2.zip MyGreatestValu

[java programming] Re: about the IDE

2009-01-19 Thread sha
hi, Thank you very much for guiding me... Thanks, Sha mike quinn wrote: > You can use any IDE but as it says at the bottom of each Homework section > > *"If you decide to use different IDE other than NetBeans, the zip file > should contain all the files that are needed for rebuilding the projec

[java programming] Homework Question

2009-01-19 Thread Srini S
Hi, I understand that we need to zip all the homework before submission using jar command. I have created a folder called "Java" in my C: drive and working from that folder. It says to use command "jar cvf MyGreatestValueProject2.zip MyGreatestValueProject2 (MyGreatestValueProject2 should contain

[java programming] Re: Email address to send homework

2009-01-19 Thread Sang Shin
nngu...@cfl.rr.com wrote: > > Did anyone notice that, in the homework section, some of the directions ask > us to send homework to: javaintro1homew...@sun.com (i.e. in Command-Line > Arguments, NetBeans, Serialization, Threading) while the rest ask us to send > to: javaprogramminghomew...@sun.

[java programming] Re: Email address to send homework

2009-01-19 Thread wbehymer
Ditto. I noticed as well and have also been sending to the address as specified in each of the homework sections. As I recall it was about the 3rd or 4th lesson that the address changed. I figured if one of them was no longer valid my emails would bounce back. So far, nothing. On Jan 19, 5:21 pm,

[java programming] Re: LAB-1034 Exercise 3 - Correction needed

2009-01-19 Thread lesh59
Also in exercise 3.2 the same problems so should be changed to do-while structure in this case. Thanks On Jan 19, 11:38 pm, lesh59 wrote: > Also further down it says > > Study how for loop control structure is used, whose code fragment is > highlighted in bold font in Code-3.11 below. > > agai

[java programming] Re: LAB-1034 Exercise 3 - Correction needed

2009-01-19 Thread lesh59
Also further down it says Study how for loop control structure is used, whose code fragment is highlighted in bold font in Code-3.11 below. again I think this should say Study the while loop control structure . On Jan 19, 2:22 am, lesh59 wrote: > In the file 1034_javacontrol.zip > > Ste

[java programming] Re: Wrong average in LAB-1034

2009-01-19 Thread Maldoror
As the exercise was principally about how to use if/else I'm not sure that the actual result produced is terribly relevant. Presumably the author's didn't want to get into the intricacies of java number formatting/type casting in this lesson. --~--~-~--~~~---~--~~

[java programming] Re: Email address to send homework

2009-01-19 Thread Maldoror
I noticed this too. I've been sending to the address given in the homework section. I figure the guys who are running the course know what they're doing. --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsub

[java programming] Re: about the IDE

2009-01-19 Thread Maldoror
I'm the same, I use Eclipse on a day-to-day basis for Flex/ actionscript work but I'm using NetBeans for the course. Like Mike, I figured it would be easier that way. --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpassion@googlegroups

[java programming] Re: Wrong average in LAB-1034

2009-01-19 Thread Adrián E . Córdoba
I think the exercise is wrong because it declare average variable as double type, so the author expected a double type result. If it wasn't that way, the author must declare: "int average = 0;" In other hand, if the author declare: double average = 0; could compute: average = (double)(mathGrade+hi

[java programming] Re: Question on Lab 1014 - Creating your own classes

2009-01-19 Thread aseldalatony
hi Ameeth, first there is a class StudentRecord you can create it or use the one created in the example(MyStudentRecordExampleProject)but with some modifications 1- remove the studentCount static variable second create a class Student which contains 1-

[java programming] Question on Lab 1014 - Creating your own classes

2009-01-19 Thread ameethpalla
Hi,   Can someone please clarify this homework. I am not clear on the requirements for this lab.   1. The homework is to either modify MyStudentRecordExampleProject NetBeans project you've done in Exercise 1 above or create a new project as following.  (You might want to create a new project by

[java programming] Re: Lab-1004 Java Programming Exersise 2

2009-01-19 Thread A.S.El-Dalatony
Hi Roger, This code represents the class constructor which must not has a return type In this example it doesn't has a vital role and can be removed (but the code works fine with it) Review this link to know about constructors http://java.sun.com/docs/books/tutorial/java/javaOO/constructors.ht

[java programming] Lab-1004 Java Programming Exersise 2

2009-01-19 Thread Roger O'Dell
Typing out the code for example 2.21 into Netbeans results and an error. The following line(s) need to be removed for the code to compile. There is no return type and it has nothing to do with the rest of the code. The example compiles without it. Did anyone else notice this when they did the lab?

[java programming] Re: Using built-in Java Classes Lab-1011

2009-01-19 Thread A.S.El-Dalatony
Hi Asif, I don't know if I understand your question But as I understand from home work is like this You supply array of strings like {Sam, Ahmed, john} And the generated name will be aho Hope I helped, A.S.El-Dalatony _ From: javaprogrammingwithpassion@googlegroups.com [

[java programming] Using built-in Java Classes Lab-1011

2009-01-19 Thread Asif
Dear All, In lab home Using built-in Java Classes Lab-1011.  In homework we are supposed to create a  static method called generateNewName(). This method takes an array as an argument and takes 2nd character of each string from the array and returns an array of new names. My question is when

[java programming] Re: about the IDE

2009-01-19 Thread mike quinn
You can use any IDE but as it says at the bottom of each Homework section *"If you decide to use different IDE other than NetBeans, the zip file should contain all the files that are needed for rebuilding the project - war file with necessary source files is OK."* Personally I use Eclipse daily f

[java programming] Re: Email address to send homework

2009-01-19 Thread mike quinn
Thanks for pointing that out, I never noticed. Mike On Mon, Jan 19, 2009 at 3:27 PM, wrote: > > > Did anyone notice that, in the homework section, some of the directions ask > us to send homework to: javaintro1homew...@sun.com (i.e. in Command-Line > Arguments, NetBeans, Serialization, Threadin

[java programming] Re: Start Program

2009-01-19 Thread mike quinn
Hi Giuseppe, I would think that is okay, the dates are just a rough guide for the course. As long as homework is handed in no later than 2 weeks after the end of the course (end of course is 2 May 2009, so that would mean all homework must be in before 16 May 2009) See the course home page http:

[java programming] Email address to send homework

2009-01-19 Thread nnguyen
Did anyone notice that, in the homework section, some of the directions ask us to send homework to: javaintro1homew...@sun.com (i.e. in Command-Line Arguments, NetBeans, Serialization, Threading) while the rest ask us to send to: javaprogramminghomew...@sun.com On the safe side, I am sending

[java programming] about the IDE

2009-01-19 Thread sha
hi, i am new to this group and i have one query. To learn java thru this group is it mandatory to use NetBeans IDE ? Can i use Eclipse?? please guide me... Thanks sha --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpassion@googlegr

[java programming] Re: LAB 1036: Java array Homework - String instead of String{] required

2009-01-19 Thread hyde
To Gryphon, Bill Shin and all the other friendly people who wrote directly to my e-mail-address: Thank you all very much, your help was worth every second you worked on it! Really great, it´s fantastic to be here and share these themes with you. Hope I can help someone else soon too! You guys re

[java programming] Start Program

2009-01-19 Thread istanza di stateful session
Hi, sorry for my poor English, May I follow the corse now? I ask this because was started 1 week ago and I subscribe only now! Best regards Giuseppe --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscri

[java programming] Just joined

2009-01-19 Thread albertvincentre...@yahoo.com
I joined the course last week and just finished java control lesson 1034. I just wanted to say thanks the mods and Sang Shin. This is a great course! --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscri

[java programming] Re: homework

2009-01-19 Thread Randell
On Sun, Jan 18, 2009 at 10:50 PM, wrote: > > > Does one get feedback on their homework ? The goal of the course is for you to learn the basics of Java. If you're not sure about a certain topic or the way you implemented your homework or other exercises, feel free to ask the group. There will