Search:

Type: Posts; User: Ada Lovelace

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: Iinitialization of members. From Qt (C++) to Java

    You can pass default values to fields via the constructor
    parameter. Which in turn would call the 'set' method of
    each field to initialize it.


    public class Example {
    public Example(int x,...
  2. [SOLVED] Re: Iinitialization of members. From Qt (C++) to Java

    A good start would be to read up on the differences between
    C++ and Java. I'm guessing you made this program using
    the Qt Creator IDE (not a fan ;)) - but anyway it's not as simple
    as changing one...
Results 1 to 2 of 2