%% Get Method Names from Object
% Construct a java.lang.String object and display the names of the public methods of that object.

s = java.lang.String;
methods(s);

%
% Copyright 2012 The MathWorks, Inc.