Fayimora's Posts
Nairaland Forum › Fayimora's Profile › Fayimora's Posts
1 2 3 4 5 6 7 8 ... 36 37 38 39 40 41 42 (of 42 pages)
Still waiting, |
csharpjava:Way to goooo, Now we are talking, nice one @csharp. Tho am not a fan of the link, ![]() |
lmaoo |
segsalerty:Was wondering aswell. Why da heck is the discussion elsewhere? [quote author=dell_net link=topic=662358.msg8319957#msg8319957 date=1305388609]I believe you use java to develop your apps, right?[/quote]Does it really matter?? The app is in what developers call beta stage AKA public testing. What everyone should be talking about is the app. What are the drawbacks. What bugs have you come across. Things like this, |
Do you want it to move gradually?I mean you see the way it moves or you just want it to disappear and reappear somewhere else, |
Well doesnt really metter to me but yeah go on send it. Depends in what lang it was developed in but at least send the main app itself first |
[quote author=trae_z link=topic=665360.msg8317628#msg8317628 date=1305353789]seun what you should do is get additional moderators, what Mr Barzini said is true, time was when job section was great. that went down years ago. now politics is getting dirtier people cursing each other out. please get a strong love-vendor hand. ban people temporarily who dont know how to hold healthy conversations. and work on your spam stuff, too many are sliping through. also consider banning spammers for 1 week, that will stem things the difference between cybereagels and ghanaweb is the discipline enforced my moderators. cybereagles rocks! please get more moderators!!!!!!!!!!!!!!!!!![/quote]said that |
seems hopeless to me kinda. But making posts strict Seun would be a very good start. Just like the examples above, such posts should be deleted or moved and then the OP would be given a last chance after which they would be deleted. Of course its just a primary measure but thats what i do for about 5 sites i mod for. Apart from helping people with problems, doing a site clean up is also necessary. Good Luck |
YEah sure, fayimora@hotmail.co.uk Would be waiting, |
no pixs or vids showing the soft?? |
[quote author=dell_net link=topic=662358.msg8298658#msg8298658 date=1305116439]The bait got me a coldfish, the thread is still on track. It seems the guy has lots of free time and could be put to use.[/quote]Put to use Wow!!! |
Lmaoo ok i get now. |
segsalerty:hahahahhahahahaha @Mechanic, You talking about the movie or wah? |
Basically what you need to really understand is casting. Whether down or up, its still casting. So am going to explain casting. First, you must understand, that by casting you are not actually changing the object itself, you are just labeling it differently. The main purpose of casting is Polymorphism. The ability to re-use objects with different instances. Take a look at this picture; https://img402.imageshack.us/img402/999/updownh.png Now say you have this;
Now The object i could have created is
But i want to be able to use an instance of cat, so what I do is cast the object reference of Mammal which is m to hold an instance of Cat class. Thats is what I have done above. If you are familiar with polymorphism, then its the same thing.
This can also be written as
Upcasting is normally done automatically but downcasting must be done manually. An example of downcasting is;
Now you have to note that thee is a criterion for casting. This s because a ClassCastException would be thrown if the class you are trying to cast is not an instanceof(more or less a subclass) the other class. Sorry if you don't understand. But you would understand better if you put it into practice. You should ask, is Cat a Mammal? Yes, it is - that means, it can be casted. Is Mammal a Cat? No it isn't - it cannot be casted. So yeah thats where inheritance comes into play. They must have tht is-a/an relationship. Be happy to answer any further questions. Good Luck |
[quote author=Number_One link=topic=648942.msg8278922#msg8278922 date=1304846961]I can't believe I got into this argument in the first place. It's futile. Everyone knows that its better to teach a man to fish than to feed him with fish. Everyone except csharpjava.[/quote]Yeah i agree. I ain't gonna say anything again because of 1 person |
csharpjava: with the right lecturers and resources no one will come here asking for help.I disagree 100% with you. Even with my level, I still seek help. My department has a forum for each module and everyone needs help in one way or the other. BUT, if someone want's to learn a language, that language obviously has a documentation and also, a tutorial. There are too many books on earth that can teach you that language. If you want to learn and am just feeding you with code then you are going to be ABSOLUTE rubbish. You keep going on and on about pseudo codes. I ddnt say you should ALWAYS give that. I just used it as an example. I don't think you can teach someone a language on this forum, rather you give the person sources to learn and then AID not solve when things get though. I have received a couple of emails(and more still keep coming) from people from this forum wanting me to teach them programming. Now of course i can decide to give them codes, blah blah blah so what? Instead I gave them books to use, links to use and so on. If I use your method, they would only fix a problem when am present. I give you a code that uses a loop to print out numbers from one to 100. If someone asks you to do it in the reverse order what do you do?? You just get bloody STUCK. Why? because i just gave you code that does it from 1-100 without letting you think of how you can do it. Syntax is one thing but the main thing is the ability to come up with a solution, an ALGORITHM. Now the next thing is to implement this algorithm. So whats next? you dont know how to do something over and over again(the syntax), fine!!. I'll give you a hint. What is it? Look up loops on the java tutorials(assume am using java). Now I have allowed he/she to look up loops him/herself. This person is going to understand the concept of loops and would be able to play with it in anyway. I like the way "2muchlogic" and "segsalerty" fully understand my points. Dunno why you have refused to. One thing you need to understand is, I moderate 5 forums out of about 12 which I am a full member of. This is the only forum amongst others where this is practiced. In one way or the other everyone loves free things but you need to understand 1 thing. Nothing in life is free!!!!!!! you guys like doing your things the opposite way so that people can worship you.HUH ?? |
Olamilec:Sorry for the late reply, Ddnt realise you have replied my previous post. please send me an [email=mailto:fayimora@hotmail.co.uk]email[/email] and i would reply with significant materials to get you started. Also please state the spec of the system you would mostly be using so i can add additional materials if needed. Also I would advise you take off your details(home address) from your post Fayimora |
csharpjava:Man, cant you see that you are the only one that doesn't even understand what am talking about ? You are talking off point, Completely out of what I am talking about, Read my post and replies and make sure you understand what exactly am talking about.Just a tip, am not saying hide codes, neither am i saying dont help nor just give pseudo-code/algorithms. If hasn't learnt a language then fine. That's TOTALLY different. You always just go into ur own point of view which is never close to the subject. Just read and understand what am talking about and don't just mis-quote what pple say. Also, why the indirect speeches? |
Your choice man! |
Man go to bed, lolzz |
dazz4me:Lmaoo like seriously?? |
Dolemite:Bout? |
Just a few errors, Can you state what exactly you wanna do? The only errors you have are
Those are basically the only errors. So now what do you wanna do? Fill up an array with something and print it out? |
Lolzz thats a beter way of saying it. Thanks for that, I find it too easy and boring. To be honest because of the fact that there is c++, I just developed a stupid hatred for c and c# so I don't use them. Up to a certain level I know c++. As for Objective-C, have developed 2 iphone apps(not alone though) using Objective-C. I only mentioned the languages I have gone really far with. Like your username. Dats a very wonderful quality of a programmer ![]() |
Olamilec:Ok cool. I could buy a very good one for you, you dnt have to pay me. I am currently writing exams therefore very busy. Just [email=fayimora@hotmail.co.uk]mail[/email] me your address and when am free would get you one or two. In the mean time, if you want e-books then i have over 700 of them and not just in Java alone. I could send some to you if you tell me how you want them. I mean either by email or upload and download. Java is good and really improving speedily. I would advice you keep your passion for it and enjoy what it has t offer. Also, when learning Java don't get lot into its wonderful abilities/features but remember that you are lerning how to program and not how to write Java code. Good Luck. |
csharpjava:Funny you. I ain't doing a Phd but would someday. If you really want to know then this is it. I am 17yrs old and just finished my first year. Am british by birth but a nigerian. Am not saying that you shouldn't post codes but hey, allow whoever is in question give it a try. The way i normally explain things are; You ask a question, i give you a pseudo code. You try it until you get stuck. You come back with your code and i tell you where you have gone wrong and tell you what to do again. It goes on in that loop until you et it. When you learn to think for yourself, then you have the tendencies to solve any problem no matter how large it is. Now when he/she finish the code(Completely or to an acceptable level), then I give you my code which would just be another way of doing what you have already done. Dolemite please dnt take ma next few sentences as an offence. She said how can i put the first 2 classes into a gui!!!!!!!!! ![]() ![]() ![]() ?That statement alone shows that she doesn't even understand what a GUI is. Now you have given code to her. What happens? It runs and does something. Ok cool. Now another assignment comes up and requires a GUI, The rest is obvious. Because she still hasn't understood what a gui is, she would post the same problem here. PLease help me with a gui. She has an assignment thats due. OK cool help her but you obviously know that you ain't helping her. I can ask her to change something in that gui now (assuming I gave her the work) and when she get an error she won't be able to handle it. Why? because she doesn't understand the concept. Everything builds up around understanding the concept, Anyways, this is the only forum out of about 12 which am currently in that does this. Seems to me like everyone just "wants it to work" without understanding what he/she is doing. I however would't speak about this anymore, |
HAhahaha mehn this is funny |
ur choice girl/guy, |
I just knew you wouldn't understand my point. IF YOU HAD, You wont have to ask for stuffs like this. C'mmon don't you think you are better than this? Asking how to implement 2 classes into a GUI. To be honest that question should come from someone dat programs because he/she has to. You should do you stuffs and i mean everything yourself. You shouldn't come here to learn new concepts. You should come here to learn new Algorithms, new ways of doing what you HAVE already done. If you had read these documentations before hand, which I know you knew was available. You would be like the Almighty Segs you always want to answer your questions. In as much as I am a good programmer, I have met a few from this forum we shared IDEAS and realised new ways of doing things but NOT learning new concepts like GUI. You need to understand my point here. P.S: you male or female? |
Yeah use ma bro segs, He's good. He would do it for you in 8hrs? Am i right segs? |
NO offence but seems to me like your using this thread to do your assignment or mini-project or whatever. There is something called the JAVA API. There is also something something called JAVA DOCUMENTATION. Lastly there is something called JAVA TUTORIALS. Am not saying you don't work on your own but to be honest if you have taken time to look at these stuffs, you wont see yourself posting things like this. These are things you can learn generally there(java tutorials). You don't just learn by solving questions.Thats what makes you better but how do you learn? There is a BIG difference between learning and getting better. You learn to know something but practice to get better. You have to go through the Official tutorials and books aswel. If you need any say so and I would make it available to you to download or if you are the type that prefer hard copy books. I can buy one for you here and send to you. Its not gonna cost me anything. Going back to the subject, Also you need to read the documentation, not all at once but bit by bit until you finish it. Lastly, you have to get familiar with using API's. There is a really big difference between a programmer and someone who knows how to write code. There is also a big difference between a Java programmer and a Programmer. Try to look at this over and over but what I have to tell you is that you really don't want to be someone who just knows how to write code nor do you want to be just a Java programmer I just hope you see the GOOD in this post and nothing else. Good Luck. |


;