J A V A

A Member? Please Login  
type your username and password to login
Date: September 05, 2008, 01:19 PM
236744 members and 136547 Topics
Latest Member: ezesimon
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  J A V A
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: J A V A  (Read 322 views)
cyberomin
J A V A
« on: October 09, 2007, 05:17 AM »

Hi there, any guide on how to graps OOP with java very fast, please if any kindly let me know
Java_Boy
Re: J A V A
« #1 on: October 15, 2007, 11:05 AM »

O boy Welcome to the J A V A W O R L D!!! visit this site for help remember any problems Java_Boy at the service Cool ;)http://math.hws.edu/javanotes/
eddyafterm (m)
Re: J A V A
« #2 on: October 19, 2007, 04:38 PM »

if you want to grab JAVA in time, start thinking objects. First look at your self as an object, as a class. Then think of different things you can do, and your habbits. Fro example, let me develop a simple class for you as a person.

 public class Cyberomin {
     private int myAge;
     private String myEyeColor;
     private double myAnnualIncome;


     public Cyberomin(){ // this is a default constructor, that initialises the variables in your class body
           myAge = 0;
           myEyeColor = null;
           myAnnualIncome = 0.00;
     }
     
     public void setAge(int age){
            myAge = age;
     }//you code setIncome, and setEyeColor in a similar way. you can also code the getter methods


   public static void main(String [] args){
        System.out.println("The following are Cyberomin's charateristics. His age is " + myAge + " Color of Eye " + myEyeColor + "Annual Income " + myAnnualIncome);
}
}

This is a simple program for you. Yopu can learn java with a book, Java Programming for Dumies (forgot the authur but you can search online). Get me on eddyaftermath@yahoo.com so we can chat more about java. WELCOME TO THIS MYSTICAL WORLD OF JAVA PROGRAMMING.                           
     
 Aptech- Maryland  Animation In Naija Aptech Or Niit Or Anyother  12-year Old Nigerian Is A Certified Java Programmer  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 
Google
 
Web www.nairaland.com
Sections: TV/Movies (2) Music/Radio (2) Celebrities Job Talk Jobs/Vacancies (2) Career Talk Romance Books Politics Sports Fashion Travel
Health Schooling Religion General(2) Business Webmaster Programming Computers Phones Cars & Trucks

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.