soompi forums: ***all Things Java*** - soompi forums

Jump to content

Page 1 of 1

***all Things Java*** love it or hate it,need help, come discuss it here!

#1 User is offline   CorrectionYourWrongImRight 

  • Mr.Darcy, I Await you!!<3
  • Pip
  • Group: Banned
  • Posts: 2,141
  • Joined: 14-April 08

Posted 14 February 2009 - 04:04 AM

hi.
so instead of having a million of those JAVA help threads, i think its a good idea to make a main one where we can all discuss java questions, comments, and opinions on here.

personally i love java. i think its like a puzzle and nothing is as good as the feeling i get when i solve a problem others couldn't solve LOL im not that good since im still a beginner , but when i read the code, i understand it, and if i dont ill read it over a few times then it'll click

first time i did java i had to withdraw from the course at the beginning, but when i repeated, it just totally clicked like an off/on switch. so to all those just starting, dont worry youll get it. and if you dont on your second try, youll never get it lol, thats what my teacher said at least. tongue.gif
im such a dork.



anyways. if you hate java, or love java, or ANything IN BETWEEN.


DISCUSS! biggrin.gif






OBJECT ORIENTED PROGRAMMING CONCEPT(objects, classes, inheritance, interface, packages,etc)
http://java.sun.com/docs/books/tutorial/ja...epts/index.html

LANGUAGE BASICS(variables, operators,control statements, blocks, expressions,etc)
http://java.sun.com/docs/books/tutorial/ja...olts/index.html

NUMBERS & STRINGS
http://java.sun.com/docs/books/tutorial/java/data/index.html

CLASSES & OBJECTS
http://java.sun.com/docs/books/tutorial/ja...vaOO/index.html

some links i found usefull for beginner or those that need memory- re-freshment.


I'm not the one lacking intelligence dear.
0

#2 User is offline   jazza_625 

  • I ♥ ONew ㅎㅎㅎ
  • Pip
  • Group: Members
  • Posts: 377
  • Joined: 20-January 08

Posted 16 February 2009 - 12:33 AM

yay~ we are studying java in school... ^^
multiply facebook twitter me2day
Posted Image Posted Image
Currently Watching:
Shut Up: Flower Boy Band.. Ojakgyo Brothers.. Dream High 2.. The Moon that Embraces the Sun.. Bachelor's Vegetable Store.. High Kick 3.. Wild Romance.. ..
0

#3 User is offline   takashi 

  • Member
  • Pip
  • Group: Members
  • Posts: 637
  • Joined: 25-June 06

Posted 18 February 2009 - 06:34 PM

rawr i recently started java @ school too...it's a pain in the ass at first but i'm kinda far behind. overall, it's pretty easy but i guess i can use this site as reference ^^

btw i just want to know, i got the bigass textbook: Starting out with Java and there seems to be a few unimportant stuff like displaying the entire msg in cap or in small case...can any1 tell me what are important and aren't? =D
0

#4 User is offline   yourHiGHNESS 

  • Member
  • Pip
  • Group: Members
  • Posts: 50
  • Joined: 15-July 08

Posted 18 February 2009 - 11:28 PM

Java makes me cry... dry.gif
0

#5 User is offline   nevets1219 

  • Member
  • Pip
  • Group: Members
  • Posts: 628
  • Joined: 04-October 05

Posted 19 February 2009 - 08:46 AM

String manipulation is a rather trivial task but you'll be doing quite a bit of it throughout programming. Understanding loops is rather important but also trivial. Computer Science is really just built on top of many seemingly trivial task to form more complicated task.

At this point, you just want to make sure you have good coding habits (indents, comments, good variable naming) and make plenty use of the Java API documentation. But to be honest, I think it was nice when AP Computer Science in high school meant C++ instead of Java since many people have trouble doing C++ after Java but less trouble when going from C++ to Java and most people will have to do C++ later on if they continue the Computer Science route.
0

#6 User is offline   CorrectionYourWrongImRight 

  • Mr.Darcy, I Await you!!<3
  • Pip
  • Group: Banned
  • Posts: 2,141
  • Joined: 14-April 08

Posted 22 February 2009 - 08:16 AM

QUOTE (takashi @ Feb 18 2009, 09:34 PM) <{POST_SNAPBACK}>
rawr i recently started java @ school too...it's a pain in the ass at first but i'm kinda far behind. overall, it's pretty easy but i guess i can use this site as reference ^^

btw i just want to know, i got the bigass textbook: Starting out with Java and there seems to be a few unimportant stuff like displaying the entire msg in cap or in small case...can any1 tell me what are important and aren't? =D

well its usefull with alot of things .
for example if you want to prompt the user to press e to exit. you wanna make sure that if the user clicks e or E that it still exits for both since java is case sensitive they are read different.
so
for example e.equalsIGNORECASE() ignores if its a cap or not and compares it to another string, or toUpperCase(). makes everything caps so there is no confusion with small letters.
obviously thats not the only thing those methods are useful for. smile.gif

gefus i hope i explained that well. lol

QUOTE (nevets1219 @ Feb 19 2009, 11:46 AM) <{POST_SNAPBACK}>
String manipulation is a rather trivial task but you'll be doing quite a bit of it throughout programming. Understanding loops is rather important but also trivial. Computer Science is really just built on top of many seemingly trivial task to form more complicated task.

At this point, you just want to make sure you have good coding habits (indents, comments, good variable naming) and make plenty use of the Java API documentation. But to be honest, I think it was nice when AP Computer Science in high school meant C++ instead of Java since many people have trouble doing C++ after Java but less trouble when going from C++ to Java and most people will have to do C++ later on if they continue the Computer Science route.


i know what you mean about the C++ thing. i never took it in high school. i went straight into java. and i love java but i can never get my head around c++. i have no idea why lol Ö_Ö


I'm not the one lacking intelligence dear.
0

#7 User is offline   dolcedor. 

  • Member
  • Pip
  • Group: Members
  • Posts: 2,108
  • Joined: 04-October 05

Posted 22 February 2009 - 04:56 PM

QUOTE (CorrectionYourWrongImRight @ Feb 22 2009, 10:16 AM) <{POST_SNAPBACK}>
i know what you mean about the C++ thing. i never took it in high school. i went straight into java. and i love java but i can never get my head around c++. i have no idea why lol Ö_Ö

Same here. I learned Java first, before learning C/C++. I still can't wrap my head around pointers in C/C++. wacko.gif And OO in C++ confuses me as well. sad.gif
0

#8 User is offline   CorrectionYourWrongImRight 

  • Mr.Darcy, I Await you!!<3
  • Pip
  • Group: Banned
  • Posts: 2,141
  • Joined: 14-April 08

Posted 25 February 2009 - 07:58 AM

^ lmao ya dont even get me started on pointers. its too theoretical for me. i NEED to understand something for me to do well in it. hahahahahah
i pretty much gave up on c++


I'm not the one lacking intelligence dear.
0

#9 User is offline   nevets1219 

  • Member
  • Pip
  • Group: Members
  • Posts: 628
  • Joined: 04-October 05

Posted 26 February 2009 - 12:58 AM

& and * just gives you different ways of accessing your data.

& = "address of"
* = "value of"
When you want to declare pointers, use *.

CODE
int some_integer = 5;
int *ptr = &some_integer

// ptr is a pointer
// &ptr is the address of the integer pointer
// you can do something like int **dbl_ptr = &ptr;
// one use for a double pointer is a jagged array as opposed to a fixed width array
// *ptr is the "value of ptr" which in this case is 5
// &some_integer is equal to ptr

*ptr = 10; // reads as the "value of ptr" is assigned to 10

// now some_integer is equal to 10 and ptr == *some_integer == true


Another way to think of it is with level of indirections which makes quite a bit more sense intuitively. Using an array is also a good example too! In case I'm wrong with my example, you can look at other site's example.
0

#10 User is offline   CorrectionYourWrongImRight 

  • Mr.Darcy, I Await you!!<3
  • Pip
  • Group: Banned
  • Posts: 2,141
  • Joined: 14-April 08

Posted 26 February 2009 - 06:06 AM

^ my brain went numb. lol. i tried!!! but i just cant! lol

its not like java. when i see java i get all excited laugh.gif
C++ i want to load a gun to my head lol


I'm not the one lacking intelligence dear.
0

Share this topic:


Page 1 of 1

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users