az1029 Posted April 14, 2020 Posted April 14, 2020 I don’t even know where to start on this! Please can someone help me out on this! 😩😣
Sensei Posted April 14, 2020 Posted April 14, 2020 1) Did you read ArrayList class, the all superclasses and interfaces manuals? To do it you use search engine with the name of class, and the name of language that you're using e.g. "ArrayList java" (because ArrayList is present also in the .NET Framework in C#/C++ on MSDN, but has different methods and syntax). https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html If you are not familiar with this class, that is where you should start. By reading docs. Every programmer does it. RTFM = Read The Fucking Manual. 2) How to enumerate entries in ArrayList class? 3) How to check whether two following entries are in the right order? ps. If you don't know what to do, RTFM! Print it on your T-Shirt.
Strange Posted April 14, 2020 Posted April 14, 2020 30 minutes ago, az1029 said: I don’t even know where to start on this! What part of it is the problem? Do you know how to write a function? Do you know how to compare two values? Do you know how to write a loop? Do you know how to access the elements of an ArrayList? If you can answer "yes" to all the above, then you should be able to solve the problem 15 minutes ago, Sensei said: ps. If you don't know what to do, RTFM! Print it on your T-Shirt. If you don't want to help people, maybe don't post in the thread 1
Sensei Posted April 15, 2020 Posted April 15, 2020 (edited) 1 hour ago, Strange said: If you don't want to help people, maybe don't post in the thread But "RTFM" is the best generic lesson for programmer-to-be, presented in easy to remember and humorous form. The majority of answers for questions programmer will have in the future every day work, are answered in manuals, docs, and in comments made by other programmers, who wrote below manual the main page, in articles leaved for other programmers. "RTFM" should not be taken personally. Edited April 15, 2020 by Sensei
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now