Any Java experts/Programmers?

Discussion in 'Scripting & Programming' started by zimbo, Sep 23, 2006.

  1. zimbo
    Honorary Member

    zimbo Petabyte Poster

    5,215
    99
    181
    Have we got any java programmers or experts on CF? im taking java in uni and i have programmed before (pascal,vb 6, c++) so i know the common lingo... i.e. i know what data types are etc i think the only thing i need to do is is learn the syntax right?
     
    Certifications: B.Sc, MCDST & MCSA
    WIP: M.Sc - Computer Forensics
  2. phonics3k

    phonics3k Nibble Poster

    97
    1
    32
    The Syntax is very very similar to C#,

    Thats all I can tell you soz :D
     
    Certifications: None As Yet
    WIP: MCTS: 70-536 & 70-526
  3. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,624
    117
    224
    If you know C++ then you will find Java easy. The main problem derives from the fact that it is *so* similar in places that the differences can be confusing!

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  4. zimbo
    Honorary Member

    zimbo Petabyte Poster

    5,215
    99
    181
    so does that mean you guys are offering help? :biggrin
     
    Certifications: B.Sc, MCDST & MCSA
    WIP: M.Sc - Computer Forensics
  5. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,624
    117
    224
    If you are good at C++ you don't need help! <giggle>

    I'm no expert in Java - and my knowledge of the standard libraries is out-of-date as I tend not to use it much in day-to-day stuff.

    My section is supposed to use it to the exclusion of all other languages, but my boss knows my opinion of that descision!

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  6. Kitkatninja
    Highly Decorated Member Award 500 Likes Award

    Kitkatninja aka me, myself & I Moderator

    11,143
    559
    383
    One of the many programming languages that I had to take in Uni was Java, true while the synax is alot like C++ (and depending on which version of Java you'll be using) with the front end of VB. The thing you're going to have to get your head around will be OO. Which didn't exist in VB and wasn't necessary in C++ or pascal.

    -Ken
     
    Certifications: MSc, PGDip, PGCert, BSc, HNC, LCGI, MBCS CITP, MCP, MCSA, MCSE, MCE, A+, N+, S+, Server+
    WIP: MSc Cyber Security
  7. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,624
    117
    224
    I'm going to be controversial here, and suggest that if you didn't use the OO in C++ you were really programing in a version of C! :biggrin

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  8. Kitkatninja
    Highly Decorated Member Award 500 Likes Award

    Kitkatninja aka me, myself & I Moderator

    11,143
    559
    383
    Not entirely true, while C++ is suppose to be OO you can program C++ without using OO. There are other functions in C++ that aren't in C such as (but not limited to):

    1. structs don't copy in C
    2. There is no operator and function overloading in C
    3. In C storage allocation and de-allocation are not handled by new and delete but by a function called malloc

    (Ref bath uni)

    You may also want to read a fictitious interview with creator of C++ here. :D

    -Ken
     
    Certifications: MSc, PGDip, PGCert, BSc, HNC, LCGI, MBCS CITP, MCP, MCSA, MCSE, MCE, A+, N+, S+, Server+
    WIP: MSc Cyber Security
  9. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,624
    117
    224
    IMHO this would be a total waste of the language!
    Er - they do. Take this code:
    Code:
    struct sometype_t a;
    struct sometype_t b;
    /* Now put something in a */
    b = a;
    /* b now contains a copy of a */
    
    I have used that capability in C for years.
    These are trivial differences. A similar trivial difference would be the use of references.
    Words fail me. For a respectable uni to hand out stuff like that! About the only excuse I can think of is that it was nearly 10 years ago!
    I remember that one from some time back! Like all good humour there are grains of truth in it!

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  10. hbroomhall

    hbroomhall Petabyte Poster Gold Member

    6,624
    117
    224
    Having poked about a bit on that Bath Uni site I realize that this wasn't a programing course per-se, but an adjunct to another course. So I suppose it can be excused a bit! :biggrin

    And it used a complier that was famously poor at C++!

    Harry.
     
    Certifications: ECDL A+ Network+ i-Net+
    WIP: Server+
  11. Jakamoko
    Honorary Member

    Jakamoko On the move again ...

    9,924
    74
    229
    I love when the minds of CF Members come together :)
     
    Certifications: MCP, A+, Network+
    WIP: Clarity
  12. Kitkatninja
    Highly Decorated Member Award 500 Likes Award

    Kitkatninja aka me, myself & I Moderator

    11,143
    559
    383
    I agree on that, all I meant was that is could be done in a non-OO way. I've done both. (By the way the non-OO way is alot longer)

    But like one of my programming tutors use to say, change 10% of any program and you have a new product :D

    Me too, if everyone had the same views/thoughts it would make this forum a little boring :D

    A discussion on C & C++, and what was the original question of this thread, ahh yes Java...

    -Ken
     
    Certifications: MSc, PGDip, PGCert, BSc, HNC, LCGI, MBCS CITP, MCP, MCSA, MCSE, MCE, A+, N+, S+, Server+
    WIP: MSc Cyber Security
  13. Bluerinse
    Honorary Member

    Bluerinse Exabyte Poster

    8,878
    181
    256
    Me too, very refreshing, even if I can't add a single informative word to the thread :oops:
     
    Certifications: C&G Electronics - MCSA (W2K) MCSE (W2K)

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.