albertlee Posted January 4, 2005 Share Posted January 4, 2005 If you knew an OO programming language...Let's say Java Whenever you are programming, you always use the jdk doc, especially its api but since it is quite a big doc, how can you know where you can find the best class to make an object for a better function?? Secondly, if you are programming big, how do you apply UML? do you just draw the diagrams your self??? By the way, finally we'd have alot of .class files... I have seen people made them in just one *.exe file, how is it possible?? Albert Link to comment Share on other sites More sharing options...
5614 Posted January 4, 2005 Share Posted January 4, 2005 how can you know where you can find the best class to make an object for a better function?? that's just part of learning to use it Link to comment Share on other sites More sharing options...
albertlee Posted January 4, 2005 Author Share Posted January 4, 2005 well, java provides massive, zillion amount of classes..... each class is related one another.... or inherited To me, I think we would not even use half of all the classes..... ALthough the doc provide information for each class, but it is really huge! By the way, as in the doc, Object class is the most important, because it is the super father class...... Maybe we could find out a big idea by finding the major classes of how java is based on?? Albert Link to comment Share on other sites More sharing options...
Sayonara Posted January 5, 2005 Share Posted January 5, 2005 that's just part of learning to use it AKA experience. Link to comment Share on other sites More sharing options...
MadScientist Posted January 5, 2005 Share Posted January 5, 2005 If you knew an OO programming language...Let's say Java Whenever you are programming' date=' you always use the jdk doc, especially its api but since it is quite a big doc, how can you know where you can find the best class to make an object for a better function?? Secondly, if you are programming big, how do you apply UML? do you just draw the diagrams your self??? By the way, finally we'd have alot of .class files... I have seen people made them in just one *.exe file, how is it possible?? Albert[/quote'] It's been a while since I used Java, I'm a C++ user. When you're looking for a class to inherit from it's as simple as looking for the one with the most useful behaviour that you need. Since you're still learning you'll make mistakes but you'll learn the ins/outs of other classes and know how to use those in the future. There are sometimes several classes you can inherit from and they'll each do the job nicely. As for building a Java project into a .exe there are linkers that can do that. Check some Java programming sites with programming utility applications on them. I used to use Java++ which I'm pretty certain can create .exe files. Link to comment Share on other sites More sharing options...
albertlee Posted January 5, 2005 Author Share Posted January 5, 2005 Just out of interest.... How long does the Bell Lab (I believe) take to make C language from assembly language? and How long does Sun take to make Java from C++ language?? Albert Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now