Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,418 members, 7,954,660 topics. Date: Saturday, 21 September 2024 at 05:26 AM |
Nairaland Forum / Science/Technology / Programming / J A V A (936 Views)
Anyone Know Blue J Here / My Programming Skills (J. C. Ozochi) (2) (3) (4)
(1) (Reply)
J A V A by cyberomin(m): 5:17am On Oct 09, 2007 |
Hi there, any guide on how to graps OOP with java very fast, please if any kindly let me know |
Re: J A V A by JavaBoy1: 11:05am On Oct 15, 2007 |
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 http://math.hws.edu/javanotes/ |
Re: J A V A by eddyafterm(m): 4:38pm On Oct 19, 2007 |
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. |
(1) (Reply)
Please Help !its Urgent / What Is Web 2.0? / C++
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6 |