To Find the file extension using JAVA


To Find the file extension using JAVA


String extension;


int dotPos = filenameExtension.lastIndexOf(".");

extension = filenameExtension.substring(dotPos);

Comments

Popular posts from this blog

Android Objective type Question and Answers

Android Questions and Answers for written exams

SCJP1.6 Question and Answers