Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-03-2008, 04:14 AM   PM User | #1
jpnv8
New Coder

 
Join Date: Mar 2008
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
jpnv8 is an unknown quantity at this point
java keywords.

correct me if im wrong

system.out --the system will print something out in the screen?

io -- type of java package?

public vs private?-- public means available to everyone and private means only on certain areas?

InputStreamReader? ...

BufferedReader?...

public static void main(String[] args), are there any main methods?

NetBeans IDE? - Is this a program like Jcreator pro? what program do you reccomend to use

Last edited by jpnv8; 04-03-2008 at 04:19 AM..
jpnv8 is offline   Reply With Quote
Old 04-03-2008, 10:40 PM   PM User | #2
mjlorbet
Regular Coder

 
mjlorbet's Avatar
 
Join Date: Jan 2008
Location: Milwaukee, WI
Posts: 724
Thanks: 8
Thanked 96 Times in 95 Posts
mjlorbet will become famous soon enough
you're thinking of .net packages
java.io is a package & would be used with import java.io.*;

public is available for use by other objects through an instance of the object declared.

Code:
 
class t extends Object{
public int add(int a, int b){return a + b;}
public t(){}
}
 
class other extends Object{
     private int value;
     public other(){
         t A = new t();
         value = A.add(3, 4);
     }
}
you see here that t defines a public method, which may be called by things instantiating instances of t (such as A). you also see that other has a private int called value. value cannot be accessed from outside of an instance of "other". in other words it's private to that object.

InputStreamReader would read from a stream (file, memory, etc. depends on context)

public static void main(String[] args) is the initializing method for the primary class in a console based assembly.

Netbeans is decent but requires a ton of memory, Jbuilder is obsolete, and eclipse is slow, unreliable, & otherwise garbage. no real good options Oracle 11g studio seems to be about par for the course with Netbeans, sunstudio isn't much better either being that it's based on netbeans 5, there is a newer release but it's only for solaris/linux/unix.
__________________
-Mike
"Want me to precludify him, like some kind of dispatcherator?... Can do!" -Bender
mjlorbet is offline   Reply With Quote
Old 04-04-2008, 03:46 AM   PM User | #3
Aradon
Moderator-san


 
Aradon's Avatar
 
Join Date: Jun 2005
Location: USA
Posts: 734
Thanks: 0
Thanked 20 Times in 19 Posts
Aradon is on a distinguished road
For IDE's if you want something directly from the Java developers then you're going to want Netbeans.

If you want an IDE that has more plugins then you know what to do with for other languages (php, c++, java, xml, etc. etc.) then I suggest Eclipse.

Those are the two main IDE's that most Java Developers use.
__________________
"To iterate is human, to recurse divine." -L. Peter Deutsch
Aradon is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:58 PM.


Advertisement
Log in to turn off these ads.