diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b42b468..4e7af98 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1 +1,29 @@ -You can contribute any programs whic can worthy +//You can contribute any programs whic can worthy +//Till now, we were always taught “Comments do not Execute”. Let us see today “The comments that execute” + +public class Testing { + public static void main(String[] args) + { + // the line below this gives an output + // \u000d System.out.println("comment executed"); + } +} + + + +public class Demo{ + public static void main(String[] arr){ + + } + public static void main(String arr){ + + } +} + +/*Choices: + +a) Nothing +b) Error +Answer: a) Nothing +Reason: We can overload main() too. But JVM will always call main() that has String[] argument. +*/