Java

Day1 – OOPS

As I promised in my previous entry, I am gonna update my pogress regarding OCJP. Today, I studied about OOPS. Data Hiding ,Abstraction, Encapsulation IS-A, HAS-A Relationship Method Signature in Java Overloading , Overriding Method Hiding Typecasting Static, Instance control flow Coupling,Cohesion Constructors I made good number of flash cards on these concepts. Lets get started Static […]

Overloading in Java

Overloading: Methods are said to be overloaded if they have same method names but different arguments. Consider the below example 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 class Sample { public static void m1() { System.out.println("No arg!"); }   public static void m1(int […]