%% Java Object Properties
% Create a Java® object and view its public properties.

obj = java.lang.Integer(0);
names = fieldnames(obj,'-full')

% Copyright 2012 The MathWorks, Inc.