Java
  Home arrow Java arrow Page 2 - A Fast Gateway to OOP in Java using NetBea...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVA

A Fast Gateway to OOP in Java using NetBeans IDE
By: Jagadish Chaterjee
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2006-06-26

    Table of Contents:
  • A Fast Gateway to OOP in Java using NetBeans IDE
  • Adding your own class
  • Customizing your own class
  • Accessing the members in “test”
  • Working with more than one object

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    A Fast Gateway to OOP in Java using NetBeans IDE - Adding your own class


    (Page 2 of 5 )

    Once you have completed all the steps in the previous section, you can proceed with the following steps to create your own class:

    • Again, right click on “MyPack” -> New -> Java Class (Fig06).

    • Within the “new java class” dialog, give the Class Name “MyCalc.”
    • Click on “finish” (which opens your source window).

    Once you click on “Finish,” you should be looking at the following skeleton of code:

    package MyPack;
    /**
     *
     * @author Administrator
     */
    public class MyCalc {   

        /** Creates a new instance of MyCalc */
        public MyCalc() {
        }   

    }

    That is the minimum skeleton you need to work with any class in Java.  Till now, you can understand that all the code is created for you (ready made).  The IDE generally helps you to create the skeleton only. Once the skeleton is ready, you need to customize it according to your requirements.

    More Java Articles
    More By Jagadish Chaterjee


       · hello guys. I am starting OOP with Java along with NetBeans IDE. enjoy the...
     

    JAVA ARTICLES

    - Deploying Multiple Java Applets as One
    - Deploying Java Applets
    - Understanding Deployment Frameworks
    - Database Programming in Java Using JDBC
    - Extension Interfaces and SAX
    - Entities, Handlers and SAX
    - Advanced SAX
    - Conversions and Java Print Streams
    - Formatters and Java Print Streams
    - Java Print Streams
    - Wildcards, Arrays, and Generics in Java
    - Wildcards and Generic Methods in Java
    - Finishing the Project: Java Web Development ...
    - Generics and Limitations in Java
    - Getting Started with Java Web Development in...







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 10 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek