Click here to watch in Youtube :
https://www.youtube.com/watch?v=i56Bw2r5YXY&index=1&list=UUhwKlOVR041tngjerWxVccw
Click the below Image to Enlarge
Java Tutorial : Java abstract class(Static members) |
public abstract class Person { public static int numberOfLegs = 2; abstract public void walk(); public static void eat() { System.out.println("Eating Pizza."); } }
public class AbstractClassTest { public static void main(String[] args) { System.out.println("Number of Legs = "+Person.numberOfLegs); Person.eat(); } }
Number of Legs = 2 Eating Pizza.
https://sites.google.com/site/javaee4321/java/AbstractClassDemo-Static-App.zip?attredirects=0&d=1
Github Link:
https://github.com/ramram43210/Java/tree/master/BasicJava/AbstractClassDemo-Static-App
Bitbucket Link:
https://bitbucket.org/ramram43210/java/src/f82b5a337c881ba48c0d1163c2b3b206ee915253/BasicJava/AbstractClassDemo-Static-App/?at=master
See also:
Really nice blog,i enjoyed your infomations. Thank you and i will expect more in future.
ReplyDeleteJAVA Training in Chennai
Java training institute in chennai
Selenium Training in Chennai
Hadoop Training in Chennai
Python Training in Chennai
Software testing training in chennai
JAVA Training in Annanagar
java training in chennai anna nagar
Great Article android based projects
ReplyDeleteJava Training in Chennai Project Center in Chennai Java Training in Chennai projects for cse The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training Project Centers in Chennai
Such a great idea. Thanks for sharing this blog. Python training in chennai OMR | Python training training institute in chennai | Python training in chennai
ReplyDeleteVery easy to understand your article. Thanks for taking the time to share this article.
ReplyDeleteUPVC Doors in Chennai
Aluminum windows in Chennai
UPVC windows in Chennai