I'm Making my first step going from C# to JAVA and have plenty of stuff that I dont get .. :( I was searching for a way to get current directory in JAVA
and found this answer(one of many one ) :
String path = new File(".").getCanonicalPath();
my question is : what is the role of File(".") + what is going under the hood ?
I got used to Directory.GetCurrentDirectory(); and never asked my self how is it working