A project idea that is relevant to preparing the Sun Certified Java Programmer (SCJP)?

I am currently preparing for SCJP, which I plan to take in 6 months. I was wondering if you could give me any Java Project ideas that ONLY include Java (NOT Java EE), which involves manipulating an object or includes certain concepts that appeared in the SCJP exam to further strengthen my understanding of the basic Java It is better to be specific with a project idea, as with what objects I need to fulfill my goals.

+4
source share
4 answers

I would suggest buying a SCJP book, such as Head First Java, and making a lot of small programs when you read it, and not one big one that covers everything.

+1
source

How do I write my own implementations of some collection classes, such as a linked list, FIFO queue, even a map set?

0
source

I just wrote this as an assignment for a couple of guys at work who are switching to Java development and studying in SCJP. The idea is to give them something to apply the theory. Maybe useful for you?

Task tracker . The goal of this project is to provide a quick way to record development and daily tasks, think of it like a magazine.

The application must be written in the Java kernel (for example, not on the Internet) and allows you to record task data, such as task name, duration, and date / time. This should initially be called via the cmd line, but think about how you improve later (e.g. web form, batch task, etc.).

For example: c:\>java RecordTask.class "App Dev Meeting" "1hr" "today"

Ideas that can help using the following aspects of Java: multiple users, reading / writing results from a file, searching for tasks by name / date.

Demonstrate the use of:

  • Collections (list, map, set) using generics. Use sorting and using .equals and a comparable interface.
  • Various cycles
  • Try, catch, finally
  • Compile and run from cmd line
  • Read / write file to file system
  • Concurrency [if necessary] Regular expression
  • Dates (including formatting) and locales
  • Primitive wrapper classes and var args
  • OO code that implements hermetic sealing and high grade adhesion
  • Packages, Classes, Abstract, Interfaces and Enumerations
0
source

It might be too complicated, but try checking Effective Java . He has received many “best practice” examples, the design principles of which you can collect to better know your knowledge for the SCJP test.

0
source

Source: https://habr.com/ru/post/1305080/


All Articles