Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,201,834 members, 7,979,925 topics. Date: Saturday, 19 October 2024 at 08:12 PM |
Nairaland Forum / Science/Technology / Programming / I Need Help On Java. (1506 Views)
I Need Help On Java / A Question On 'java: How To Program' Deitel. / Must I Learn Everything On Java As An Android Developer? (2) (3) (4)
I Need Help On Java. by Nobody: 4:20pm On Feb 02, 2016 |
I understand what Java entails, really, OOP - Inheritance, Polymorphism. But what annoys me is that I can't seem to solve problems with it. Questions like the following.
Anytime I see questions like this and I'm not able to solve it I just hate myself. Or is it that I need to learn some new concepts, pls help. |
Re: I Need Help On Java. by FrankLampard: 4:50pm On Feb 02, 2016 |
The book, Java how to problem, would help. Regards |
Re: I Need Help On Java. by Nobody: 4:56pm On Feb 02, 2016 |
FrankLampard: I have read the book upto Recursion, its a good book though. I can solve exercises on the book very well. |
Re: I Need Help On Java. by FincoApps(m): 9:33pm On Feb 02, 2016 |
GetAvenue: I'll advise you work on your logical thinking. Maybe I don't understand the question. Is it that you are trying to solve the above using major OOP concepts or you just can't solve them, probably because it seems impossible ? If you are looking just to solve them, I can easily assist with the first since that's the simplest then you can challenge yourself to do the rest |
Re: I Need Help On Java. by Nobody: 11:19pm On Feb 02, 2016 |
FincoApps: Thank you, I figured how to do the first. My problem is that I don't know how I can get my hands on how to use some Java inbuilt methods. |
Re: I Need Help On Java. by FincoApps(m): 11:25pm On Feb 02, 2016 |
GetAvenue: Methods like ? Besides you can check for the documentation of the class that the method belongs to online |
Re: I Need Help On Java. by Nobody: 11:33pm On Feb 02, 2016 |
FincoApps: What type of books did you read, that gave you the understanding on how to solve those kinds of questions. |
Re: I Need Help On Java. by ChinenyeN(m): 5:40am On Feb 03, 2016 |
[url=docs.oracle.com/javase/7/docs/api/java/util/package-summary.html]This[/url] is the summary of the java.util package. From the instructions, it seems you're supposed to develop a solution to those problems in Java, without using anything from the aforementioned package. I believe the java.util package has to first be imported before it can be used. So, the simple solution to this would be to not import it. That way, you don't run the risk of using the package. Beyond that, honestly, it's all about critical thinking. I suggest your first step should be to always write out your algorithm by hand. Work through the algorithm with pen and paper. Then research the methods that will allow you to implement your algorithm. If it's taking too long to find the method(s) you want, then write them yourself. 2 Likes |
Re: I Need Help On Java. by FincoApps(m): 8:11am On Feb 03, 2016 |
GetAvenue: Like Chinenyen said... It's about critical thinking. I really dislike reading except it's a documentation. What I do that enables me solve complex problems is: I imagine I am the compiler and ask, what instructions do I need to be given in order to perform this task ? What complex set of instructions do you give your legs in order to walk. (That's just a sample). In your question, they basically don't want you to use Arrays, Collections, Vectors etc because they make it too easy |
(1) (Reply)
Blender Game Engine Or Kivy Game Engine / Hello Programmer Need Ur Assistance / I Will Teach Spss, Autocad, Project Mgt, Revit, Phpmyadmin And U Teach Me Java
(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. 29 |