Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: Getting ready for an interview

  1. #1
    Member Charlie's Avatar
    Join Date
    Jun 2010
    Location
    Sweden
    Posts
    41
    Thanks
    1
    Thanked 5 Times in 5 Posts

    Default Getting ready for an interview

    Hi there
    We'll first of all, a little background info. I've basically only used Java for school project so far, studied it for 2 years and read a few books on the subject and I'm starting to feel pretty decent at it. I recently moved and through a contact I got a shot at a really attractive job-opportunity (Junior Java Developer) at a company I'd kill to work at.

    Now to my question: I've spend these latest few days to read up the language to get better at specificly Java, schools been pretty "broad" since we've been working with everything from html/css to java/c++ but it's been clear to me for some time now that Java is the most intresting of em.
    What do you guys think I should read up on to be more ready for the interview?


    Thx a bunch
    //Charlie


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Getting ready for an interview

    Most of the time, it's not necessarily the language you use, but how you solve problems that's most attractive to companies.

    Some general topics you should be familiar with in no particular order (note that what you'll actually want to know is strongly dependent on what they're looking for):

    1. Problem solving skills (and learning skills) ** Probably the most important
    2. Data structures (all types of lists, heaps, hash tables, trees, graphs, etc.)
    3. Multi-threading (depending on the type of job, this may or may not be important)
    4. Debugging skills
    5. Algorithms

    Java dependent items:
    It depends on what kind of job it is. If it's something web related, it would probably be a good idea to study up on Java networking and similar stuff. If it's something that uses Java GUI's (either AWT, SWT, or Swing), it'd be a good idea to learn about those.

    good luck

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Getting ready for an interview

    To add to hw's great post: it all depends upon who interviews you of course, but general advice would be know the job and the company: both will give you a clue about what you should know and study. You should receive general questions on your skills - java specific and non-java specific (algorithms, data structures, and problem solving). Google 'java interview questions' and you'll gather quite a few common questions that are specific and the answers to which you should know.

  4. #4
    Member Charlie's Avatar
    Join Date
    Jun 2010
    Location
    Sweden
    Posts
    41
    Thanks
    1
    Thanked 5 Times in 5 Posts

    Default Re: Getting ready for an interview

    Thanks again for all the input so far!

    I've been digging into Swing these last few days, thinking of making a soduko application with an AI that can solve sodukos and maybe even generate new ones. Logical problem solving (Iq-tests with figures etc) has always been a strong side of mine, thats probably the reason why I enjoy programming so much. I found a great way to use this site as sort of a tutorial was to create the programs in the "Paid Java Projects" thread. Only been a member for half a day and I already want to marry this site and have kids with it.

    Btw, if I'm ever to use this program I'm writing atm as sort of a reference, is it bad programming to always extend JFrame in your applications in order to more easily make them Applets later on? I don't really understand whats frowned upon and whats not since I'm sure we've taken lots of shortcuts like this in school. Also, is there any way to draw shapes on your panels without making a new object that extends JPanel and overrides the paintComponent method?

  5. #5
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Thumbs up Re: Getting ready for an interview

    Quote Originally Posted by Charlie View Post
    Only been a member for half a day and I already want to marry this site and have kids with it.
    That made my laugh out loud. Thats a compliment and a half!
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  6. #6
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Getting ready for an interview

    Generally, JFrames are used for fully-fledged Java applications. It's not necessary to over-ride this class, but to simply write event listeners that take in the JFrame/some other component and perform the necessary actions from the event listener. This prevents you from ending up with one massive class at the end, which makes debugging a nightmare.

    If you need a custom component, I'd suggest over-ridding the closest component to it, for example I generally over-ride the JPanel class when I need some sort of canvas to do custom painting with (like a plotting utility).

    Another advantage of over-riding the JPanel class is that you can very easily inter-change between full Java applications and Applets by simply setting the content pane of either the Applet or of the JFrame (almost no change required).