Demo entry 6783196

Incorrect comment

   

Submitted by joeced on Feb 02, 2019 at 13:10
Language: Matlab. Code size: 669 Bytes.

classdef ClassWithStringFormatting
    %WHATEVER Summary of this class goes here
    %   Detailed explanation goes here

    properties
        Property1
    end

    methods
        function obj = ClassWithStringFormatting(inputArg1)
            %ClassWithStringFormatting Construct an instance of this class
            %   Detailed explanation goes here
            obj.Property1 = sprintf("%d",inputArg1);
        end

        function outputArg = method1(obj,inputArg)
            %METHOD1 Summary of this method goes here
            %   Detailed explanation goes here
            outputArg = obj.Property1 + inputArg;
        end
    end
end

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).