| | |
Help!! I'm Drowning
![]() |
•
•
Join Date: Feb 2005
Posts: 2
Reputation:
Solved Threads: 0
I am taking a basic java programming class. Unfortunetly it is an online class, and I am unable to find a tutor. We are using the book Java How to Program sixth Ed. and are going through two to three chapters a week. I am soo lost!! My next lab due is to use n overloaded counstructoer to output date in muti formats such as mm/dd/yyy, june 14, 1992 and ddd yyyy. I don't know what I'm doing and just reading the book is not helping me!! I also have my midterm next week. does anyone know if there is an online tutorial that shows how to do this stuff. Not just to read text, but actual movie like things.
•
•
Join Date: Feb 2005
Posts: 2
Reputation:
Solved Threads: 0
I do the excercizes and sometimes they work and sometimes they don't. The problem is I don't understand what I'm doing. Maybe I'm making it harder than it is I don't know. I've gotten websites and things but they say the same thing as the book. I just doesn't seem clear to me. I get some of it. I understand some symbols. but I don't know things like how to use output symbols such as %sn\ I don't get what each represents. I know where they should be used and basically they are calling information from another place in the text, but how do I use them?
•
•
Join Date: Jun 2004
Posts: 2,108
Reputation:
Solved Threads: 18
You WON'T understand certain concept untill your very experienced with java. Polymorphism, inheritance, and other concepts like that aren't very difficult, but you just want grasp it starting out. I wouldn't even waste too much time looking at it, untill you have a good understanding of java, then it is very important that you study those topics. But, once you have a good understanding of the language you won't find it difficult.
•
•
Join Date: Feb 2005
Posts: 46
Reputation:
Solved Threads: 0
If u dont understand deitels book read it again, best advice imo. has lots of source code to look at so u dont have to be writing programs to know what hes talking about
here are overloaded constructors
public class methodTest{
public methodTest(){ // this ones the default one
}
public methodTest(int a){
}
public methodTest(int a, int b){
}
They are overloaded because they have different signatures, if you say
methodTest obj = new methodTest();
it'll call const # 1
methodTest obj1 = new methodTest(1);
it'll call const #2
methodTest obj2 = new methodTest(1, 2);
const 3.
here are overloaded constructors
public class methodTest{
public methodTest(){ // this ones the default one
}
public methodTest(int a){
}
public methodTest(int a, int b){
}
They are overloaded because they have different signatures, if you say
methodTest obj = new methodTest();
it'll call const # 1
methodTest obj1 = new methodTest(1);
it'll call const #2
methodTest obj2 = new methodTest(1, 2);
const 3.
![]() |
Similar Threads
- News Story: You really are drowning in spam (Show Off your Projects)
- Usa Elections 2004 Please Do Vote Here (Geeks' Lounge)
- i.e. 6 problem (Web Browsers)
Other Threads in the Java Forum
- Previous Thread: how many of you use 1.5?
- Next Thread: String Object Immutable Confusion
| Thread Tools | Search this Thread |
2dgraphics account android api apple applet application array arrays automation banking bidirectional binary binarytree birt bluetooth chat chatprogramusingobjects class client code columns component database derby design eclipse encryption error errors expand fractal game givemetehcodez graphics gui guidancer homework html ide if_statement image inheritance integer intellij interface j2me java javadesktopapplications javaprojects jlabel jme jni jpanel jtextfield julia linux list map method methods midlethttpconnection mobile mobiledevelopmentcreatejar monitoring myaggfun netbeans newbie nullpointerexception open-source problem program programming project property recursion reference ria scanner search server set sms sort sourcelabs splash sql sqlite static stop string support swing testautomation threads tree ui unicode validation windows






