Find all files with the extension ".class" in the current directory and its subdirectories up to a maximum depth of 3, and change their permissions to 0644.
find -maxdepth 3 -perm 0744 -type f -iname '*.class' | xargs chmod 0644