Sha256: f6b0c463e0815b4435f1d53209b8ea0eafa7ac63d56877f11eab23758c6df415
Contents?: true
Size: 976 Bytes
Versions: 2
Compression:
Stored size: 976 Bytes
Contents
/* **************************************************************************** * ConstructExample.java * ****************************************************************************/ /* J_LZ_COPYRIGHT_BEGIN ******************************************************* * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. * * Use is subject to license terms. * * J_LZ_COPYRIGHT_END *********************************************************/ package examples; public class ConstructExample { int mInt = 0; String mString = ""; double mDouble = 0.0; public ConstructExample(int i) { mInt = i; } public ConstructExample(int i, String s, double d) { mInt = i; mString = s; mDouble = d; } public String getInfo() { return "int: " + mInt + "\n" + "string: " + mString + "\n" + "double: " + mDouble + "\n"; } }
Version data entries
2 entries across 2 versions & 1 rubygems