How many classes in Java?

I'm new to Java.
Does anyone have a link or know the exact number of classes and methods in the java programming language that we use and their classifications (e.g. how many number of classes are used only for drawing rectangular objects on a form and the names of those classes)
I need to see ALL the possible classes and categories they apply to.
Is there a source I can access to view such information?
Appreciated.

wow.... now about that zipped file with so many class definitions, maybe an extra strap and a java programmer to sit on the thing to prevent it from exploding.
thanx for your help people.
Regards,
Zeeshan

Similar Messages

  • How many package in Java 1.1?

    Do you know, How many package in Java 1.1?

    Idiotic question, so here's an idiotic reply:
    jar tf /path/to/java/lib/rt.jar |\
       egrep -v '^(META-INF|com/sun|sun)' |\
       sed -e 's/\/[^/]*$//' |\
       sort -u |\
       sed -e 's;/;.;g' |\
       wc -lAnd if you change the last wc -l to more, you'll see the actual package names.

  • How many classes should a .java file contain?

    Are there any general guidelines on how many Java classes should be contained in a single .java file? I've been creating a new .java file for each class I write but see examples in Sun's Java tutorial where there are at least two classes in a single .java file. One such case is the TableDemo example at
    http://java.sun.com/docs/books/tutorial/uiswing/components/example-swing/TableDemo.java
    Thanks.

    The example you point to isn't really more the one class in one java file. It makes use of an inner class. An inner class is something different! As far as I understand it, it is mainly used to implement some behaviour (in this case AbstractTableModel behaviour). If the MyTableModel was in a separate class file, it couldn't access the variable of the main TableDemo class. So they use an inner class.
    So unless you need inner classes, this example is no reason to put more than one class in a .java file. In general, just put one class in a .java file. It's easier for everybody.

  • How many classes are there in the java kit?

    i figured this was the most "general" forum to post this question in. and im curious to know, how many packages/classes/functions are there in the java sdk? like, all the prebuilt ones. ive looked but cant seem to find any info on it. anybody happen to know?
    Thanks!

    there are at least 4142 classes in the 1.4.2.x distribution ...Is that the number of files which end in .java? There's bound to be a lot more
    classes, when you u consider inner classes and especially anonymous
    inner classes.It was just a rough estimation ... and I wrote 'at least' 4142 classes ...
    and I was wrong: there are alse 4 .h files in the src.zip file, so that makes 4138
    classes at least :-)
    kind regards,
    Jos

  • How many classes are used in java versions?...

    sun microsystems have released many java version...
    how many build in classes are used java version 1.2 ,1.3 etc ...

    Arun02006 wrote:
    sun microsystems have released many java version...
    how many build in classes are used java version 1.2 ,1.3 etc ...No idea why you should want to know... Anyway, download them and look inside the zip file that holds the source codes.
    You can download older Java versions here: [http://java.sun.com/products/archive/]

  • How many components in Java

    Hi, this is just a simple theory question. Is there one out there could tell me the answer. How many components are there in Java ?
    Thanks,
    choongteck

    grins
    As many as are derived from the Component-Class plus 1 (for the Component-Class itself)?
    Would you like to know the total number of classes or the number of instances of the classes? :)
    greetings Marsian

  • [urgent please] How many Classes in jdk

    Hi Can some body answer my simple Question
    How many total NUMBER OF CLASSES were there in
    1)JDK1.2
    2)jdk1.3
    3)jdk1.4
    Thanx in advance
    with regards
    Karthik

    Please do not post 3 times the same question.
    As for the number of classes, download the JDKs, decompress the jars and use the explorer to get the .class count.

  • How many classes

    Hello
    I would like to have some informations concerning the number of classes (and tables) usually used in projects (not precises numbers, but some idea...).
    Could you give me theses numbers, with the scope of the project? (ERP, banks, ...)
    many thanks
    Uron.

    Hello!
    Evidently itdepends on the project, and especially on the lines of code included in every class. In order that you should do an idea I will say to you that I am in a project of 3 months (10 persons) and already we are over all 1000 classes and more than 50 tables!!
    Regards!
    Ppito's

  • How many systems in Java Development landscape?

    For our J2EE development, we have installed a system with the JDI that we also classify as our Dev system.  Our QA system would be the test system.
    But in the setup of NWDI systems, there is Dev, Consolidation, Test, Prod.  Can the NWDI/Dev system also be the consolidation system?  We don't really want to introduce 4 systems because our development activity is relatively simple.  I'm still thinking with an ABAP/STMS mind and trying to make the assimilations of how we've done it in ABAP for 10 years can translate to doing the same thing with a Java development environment.

    Hi
    See this help
    http://help.sap.com/saphelp_nw04/helpdata/en/03/f6bc3d42f46c33e10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/a3bb3eff62847ae10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/01/9c4940d1ba6913e10000000a1550b0/frameset.htm
    Kind Regards
    Mukesh

  • Why how Abstract class   for java.util.set

    I need to use Set i din't find any impelemnted class for Set, i don't want HashSet or LinkedHashSet just a Set is enough for my purpose.
    How can i take instance of AbstractSet it is abstract.....
    Is the only way is to write my own class extending AbstractSet.
    Or is there something which i'm missing
    TIA Nas

    Because Vector isn't an ancsetor of AbstractList.
    What you are trying to do is the same as saying that becasue my cousin and I have the same grandfather we must have the same parent which isn't true.
               Collection
            Set         List
       AbstractSet      AbstractList
       HashSet              Vector

  • How many versions of java console do I need in extensions?

    In extensions I have java consoles from 6.0.11 to 6.0.24. Can I remove the old old ones? Mike

    You do not need any of them. They are not needed to run Java applets.
    See:
    * http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions

  • How many passes is javac?

    Does anyone know how many passes the java compiler uses?

    Parser Tree builder pass..... Type Check on the way back up the tree..... generate code..... Maybe? I can't find it anywhere.... I'll tell you tomorrow though... I'll go ask DL... I bet it's different for the pre Java2 compiler also, as the Java2 compiler is completely new... Did you notice all the great error messages went away with Java2 compilers? now they just all say "can't resolve symbol"...

  • Than how can i get java class by using it's class file?

    Hi
    After compilation of a java program, it creates a class file.
    After getting class file suppose class file has been deleted.
    Than how can i get java class by using it's class file?
    Thanks in advance.

    get a decompiler and run your class file through it--I'll assume you want the source code back and that you are not trying to recover a missing class file by attempting to use the class file that is missing--if it's missing, then I've not a clue on how to get it back by using what is already missing.
    BTW: many of your compilers have source control--if it does, just restore your missing file.

  • How to complie an application with many classes?

    I build an application with many classes,
    java palm.database.MakePalmApp -v -version "1.0" -icon 1.bmp -bootclasspath %j2meclasspath% -networking -classpath output %1
    this only works with only one class, I do not know if I have an application with several classes how can I convert them into a prc??

    Take a look at the mksample.bat file that came with
    midp4palm:
    java -jar MakeMIDPApp.jar -version 1.0 -type Data -creator mJav -nobeam -v -o ManyBalls_new.prc -JARtoPRC ManyBalls.jar example.manyballs.ManyBalls
    You will need to create a jar file consisting of the
    classes for your application, and then run it through
    a statement like above.
    Perry

  • Until how many lines can we  write java file

    in java file, how many lines can I write?
    Manybe It will depend on file system such as window, unix file system.
    but, I don't know the exact size.
    please let me know how many lines I can wirte in java file of window and unix file system.
    thank you in advance.

    A class and method implementation in source lines of code (sans comments and white space) should be as large as necessary, but no larger. Good design principals tend to drive towards smaller peices, but there is no one right size size limit.
    Personally, I suspect any method that has over 50 lines of code as being too large and probably refactorable. I also suspect any single class (or for that matter .java file) with more than 50 methods or more than 2000 lines of code as being too large and probably refactorable. But sometimes we might really need a 500 line method or an 8000 line, 200 method class. Maybe its a performance thing. Maybe it is just that complicated and too hard to break up. I doubt it occurs frequently, but I won't be shocked when I see it.
    Sometimes GUI classes (Swing and AWT) get really huge. Sometimes this is due to code generation, sometimes its just being sloppy. It pays to know the difference.
    But the Java langauge sets reasonable (if not overly generous) limits on bytecode and constant pool sizes If the Java compiler begins to complain that something you have built is is too large, face it, it probably is. It's like running into scope nesting or nested name (class in a class in a class...) size limits - usually not a good sign for the structure of your code.
    Chuck

Maybe you are looking for

  • Since upgrade to ios6.0.1 a few days ago my wifi doesn't work

    I received a notification to upgrade to iOS 6.0.1. Ever since then I have been having problems with wifi. Go to a website, safari cannot connect to the server. Go to PayPal app, works ok, login...cannot find server. My Verizon app, login ok, try to g

  • J2ee1.4 installation error - there are no files requiring installation

    hi all, i downloaded the j2ee sdk 1.4 bundle and installed successfully on my suse 8.2. however when i tried doing it on another suse 8.2 machine using the same bundle i got an error that says : There are no files requiring installation - here's all

  • Ghost Pictures of Desktop and Screen Saver best practice.

    My Apple LCD Screen have only about 10 month and sometime i can see the edge of desktop picture who in my case is the Apple Rocks Collection Desktop Picture , i use 30 minutes before Screen Saver kick-in and 30 minutes before LCD Screen go to sleep .

  • What are the new features in the new ipod touch?

    So for the new iPod Touch that came out on October 12th, what are the new features that they have? I can't find any difference between the last iTouch and this new iTouch.....plz tell me!

  • Problems with editable PDFs

    I have created an editable PDF that I want to send clients, have them fill information in, then save and email back to me. This works on my machine but when I send it out, people cannot save it. They can only save a blank version. I have extended the