Search:

Type: Posts; User: profit7

Search: Search took 0.21 seconds.

  1. Replies
    3
    Views
    734

    Re: How to fix this class/program

    I don't get the required output:

    Room 11 has Hans Desmet as it's teacher
    Felix De Vliegher follows basis
    Koen Vanhoutte follows java
    Serge Vereecke follows java
    Freddy Himpe follows .net
    ...
  2. Replies
    3
    Views
    734

    How to fix this class/program

    Last week we received a test about Java Fundamentals and I wasn't able to finish it, I was wondering if someone could explain it to how to get it done.
    The task was this:
    Complete the program with...
  3. Replies
    13
    Views
    316

    [SOLVED] Re: Question on Generics and collections

    This is what I have so far:

    public class Traject {
    public Traject(String traject) {
    setTraject(traject);
    }

    private String traject;

    public String...
  4. Replies
    13
    Views
    316

    [SOLVED] Re: Question on Generics and collections

    This is exactly what my problem is, I wrote the program without generics and it works fine, I can't use the generics! this what I have for Traject, but in my Main Class it still shows an error...
    ...
  5. Replies
    13
    Views
    316

    [SOLVED] Re: Question on Generics and collections

    thank you for your time! but i'm afraid that this is all what i have:
    we got the code you can see above and we were asked to complete the program using, generics, inheritance, collections... to get...
  6. Replies
    13
    Views
    316

    [SOLVED] Re: Question on Generics and collections

    this is not the point, we HAVE to create classes and use collections, generics and so on to make the code work.
    using println() is not correct... it's a program we have to complete and the answers...
  7. Replies
    13
    Views
    316

    [SOLVED] Re: Question on Generics and collections

    to get this output from the code:

    Room 11 has H. DS as it's teacher
    Felix De Vliegher follows basis
    Koen Vanhoutte follows java
    Serge Vereecke follows java
    Freddy Himpe follows .net

    Room...
  8. Replies
    13
    Views
    316

    [SOLVED] Re: Question on Generics and collections

    by not knowing the syntax i meant that it's not clear to, not that i don't know how it works... the reason why there is no generics in the codes is because this is our test we have to USE generics to...
  9. Replies
    13
    Views
    316

    [SOLVED] Question on Generics and collections

    Hello everyone!
    I'm new to java and I got a test today and kind of failed to make it, I was hoping that someone could explain it to me because I still don't get how to use Generic collections.......
  10. Thread: Hello everyone

    by profit7
    Replies
    2
    Views
    242

    Re: Hello everyone

    Oh that's great! How far are you in learning it?
  11. Thread: Hello everyone

    by profit7
    Replies
    2
    Views
    242

    Hello everyone

    Hello world!

    My name is Ali, and i started taking Java programming classes last month. So far so good, I have a degree in Physics/Quantum Physics.
    Happy to help anyone with maths/physics...
Results 1 to 11 of 11