can any one explain this

can any one explain this

class Clidder { private final void flipper() { System.out.println("Clidder"); }

}

public class Ex3 extends Clidder { public final void flipper() { System.out.println("Clidder"); }

public static void main(String[] args) {
    new Ex3().flipper();
}

}

View Answers

March 1, 2011 at 5:58 PM

class Clidder {
    private final void flipper() { 
        System.out.println("Clidder");
        }

}
public class Ex3 extends Clidder {
    public final void flipper() {
        System.out.println("Clidder");
        }

public static void main(String[] args) {
    new Ex3().flipper();
}
}

In the above code there is a super class Clidder which is having a method flipper(). The class Ex3 extends the superclass Clidder.It means Ex3 is the subclass of Clidder class. The subclass is having the property that it can inherit all the properties and methods of its super class.Here the Ex3 class inherits the method flipper() of its super class. In the main method, it calls that method.









Related Tutorials/Questions & Answers:
can any one explain this
can any one explain this  class Clidder { private final void flipper() { System.out.println("Clidder"); } } public class Ex3 extends Clidder { public final void flipper() { System.out.println
Please , can any one answer this Question?
Please , can any one answer this Question?  How to cummunicate one web application to another web application in different places
Advertisements
Any one can help me? - Java Beginners
Any one can help me?  CAN any of u help me to do this java codes for the interface given below? thanku the user will be given jumbled words.... If the player is able to arrange all the words without any mistake, he/she can get
can any one give the frogort password code using jsp,
can any one give the frogort password code using jsp,  plz give the code for frogot password
please any one can help me to write a code for this question?
please any one can help me to write a code for this question?  1) Copy one file content to other? 2) Count the number of words in a file
please any one can help me to write a code for this question?
please any one can help me to write a code for this question?  Q 1) In a class first day 25 students are joined. After two days that total students will increased to 60. We can develop a program by using ArrayList concept
plz help me any one as fast as u can
plz help me any one as fast as u can  A thief Muthhooswamy planned... is the number of metres he can jump (1<=climbUp<=10^10) climbDown... Sample Input 1: 10:1:1:{10} Here Muthooswamy can jump 10 metres height
what timing attack {practically}??? any one can help me in my Ph.d thesis
what timing attack {practically}??? any one can help me in my Ph.d thesis ... not find the practical aspects of this problem.I do not require total program,you can give me only practical overview of this concept.You can send me your programming
hi , i cant make this programmer , can any one help me to make it pls - Java Beginners
hi , i cant make this programmer , can any one help me to make it pls  ... ? -Update record(s)? -Delete record(s)? -Make one copy of a specific text file... file and by calling all the implemented methods. the user can input the name
I am trying to develop a Image Sliding application but unfortunately its not working... Can any one help me in this
I am trying to develop a Image Sliding application but unfortunately its not working... Can any one help me in this  Can Anyone Help Me In This import java.awt.*; import javax.swing.*; import java.awt.event.*; class SlideShow
Can any one please help me in this ,,,,,,, need java code for this ,,,,please anyone
Can any one please help me in this ,,,,,,, need java code for this ,,,,please anyone  The Airport Valet Parking Company (AVP) is a company which provides a convenient medium cost parking solution to users of a local airport. Key
can you explain ?
can you explain ?  my dear can you teel me the explaintion for this code i need it GregorianCalendar cal = new GregorianCalendar(y, m, 0...(); } } iam explain whole code exept this part can you help
What is Hibernate one to one relation?Any example..
What is Hibernate one to one relation?Any example..  Hello, What is Hibernate one to one relation? Is there any example of it.. Thanks..   Dear Friend, Here are detailed tutorials and examples of Hibernate One-to-one
could any one help me?
could any one help me?  I'm a student in the faculty of computer and information science we will make graduation project "taxi dispatcher" we need to use mobile "x6 nokia" in car and send the coordinate of car through gps which
actually i want to knw how to include an google page inside a tab(suppose in 2nd tab).can any one help me....
how to include an google page inside a tab(suppose in 2nd tab).can any one help me....  actually i want to knw how to include an google page inside a tab(suppose in 2nd tab).can any one help me
how the answer is 13 can anyone explain plz
how the answer is 13 can anyone explain plz  public class that { public static void main(String arr[]) { int i=3; int j=1; while(i<4) { //j=i; i=i+j/2; } System.out.println(i
Can you give me Hibernate one to one example?
Can you give me Hibernate one to one example?  Hello there, Can you give me a hibernate one to one example that explain the concept and mapping in Hibernate. Thanks in advance
how to dynamically create one file with any example in php
how to dynamically create one file with any example in php  how to dynamically create one file with any example in php
any one help me in alfresco technology - Development process
any one help me in alfresco technology  i am sending some questions in alfresco,but no one is give the answer. i want webscript materials and JSON materials.please any body can u responding my questions.  Hi friend
does any one have sudoku in java - Java Beginners
does any one have sudoku in java   i need soduko in java using applets
have any one tried ajaxanywhere with jsp/servlet please provide sample
have any one tried ajaxanywhere with jsp/servlet please provide sample  hello you can find this app here: http://ajaxanywhere.sourceforge.net it explains how to use this with struts but not with simple jsp servlet(or i am
Explain - LDAP
Explain LDAP  Any one explain about LDAP ? and also explain about JNDI what relation b/w this two
can u plz explain the http request methods - JSP-Servlet
can u plz explain the http request methods  can u plz explain http... duplicate entries in the MySQL database we can follow one of these following approach... that we have deleted. Here is the explanation with the query : To explain use we
i have one txt field and one button.when i entere any test in testfield then only button should be enabled.
i have one txt field and one button.when i entere any test in testfield then only button should be enabled.  i have one txt field and one button.when i entere any test in testfield then only button should be enabled. i need
can you check below code if any erors
can you check below code if any erors  database.java /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template
A DVR Mobile Application Can Get Any Problem Recorded with Ease
the use of any tapes or discs. A user can even program one of these DVR drives...A DVR Mobile Application Can Get Any Problem Recorded with Ease The Digital Video Recorder, or DVR, is one of the best types of devices that anyone can use
How can I master Java in one month?
How can I master Java in one month?  Hi, I wish to learn Java programming in one month. I have little experience in c programming and PHP programming. Is there any way to learn Java quickly. How can I master Java in one month
Can a Class extend more than one Class?
Can a Class extend more than one Class?   Hi, Can a Class extend more than one Class? thanks
i have one txt field and one button.when i entere any test in testfield then only button should be enabled. i need for this
i have one txt field and one button.when i entere any test in testfield then only button should be enabled. i need for this   i have one txt field and one button.when i entere any test in testfield then only button should
How can one master the Spring framework in Java
How can one master the Spring framework in Java  Hi, How one can learn and master famous spring framework in Java? How can one master the Spring... in one or other way. I have seen many jobs on the Job website and most of them
Explain ServletContext.
Explain ServletContext.  Explain ServletContext.   Hi... for a servlet to view it?s environment. A servlet can use this interface to get...?s version. Every web application has one and only one ServletContext
how to highlight the field in image,when i have entered into that corresponding field's textbox-any one help out
how to highlight the field in image,when i have entered into that corresponding field's textbox-any one help out  how to highlight the field in image,when i have entered into that corresponding field's textbox. Here webpage
Can you suggest any good book to learn struts
Can you suggest any good book to learn struts  Can you suggest any good book to learn struts
what is cloud computing? any how we can implement?
what is cloud computing? any how we can implement?  what is cloud computing? any how we can implement
Can a abstract class be defined without any abstract methods?
Can a abstract class be defined without any abstract methods?   hi, Can a abstract class be defined without any abstract methods? thanks
total time calculator (starttime+endtime) in servlet USING DATABASE IN SQL2000 PLZ ANY ONE HELPME
total time calculator (starttime+endtime) in servlet USING DATABASE IN SQL2000 PLZ ANY ONE HELPME   <%-- Document : insertdate Created on : Jul 19, 2013, 3:48:28 PM Author : CG0T4908 --%> <
How many cookie object we can store in a session? is there any limit?
How many cookie object we can store in a session? is there any limit?  How many cookie object we can store in a session? is there any limit
explain this method
explain this method   i hope any one can explain this method ` private void showMonth(int m, int y) { int lead_spaces = 0; if (m &lt; 0 || m > 11) { System.out.println("It should be 1 to 12
Deployment on Server that can be used simultaneously by more than one user
Deployment on Server that can be used simultaneously by more than one user  Sir, I have deployed my web application developed using JSP & sevlet. how could i access it on the network using xp os. I have deployed it on Tomcat
How can I learn machine learning in one day?
How can I learn machine learning in one day?  Hi, I am beginner... to learn: How can I learn machine learning in one day? Try to provide me good examples or tutorials links so that I can learn the topic "How can I learn
Where can one find good data science course in India?
Where can one find good data science course in India?  Hi, I am... for the tutorials to learn: Where can one find good data science course in India? Try...;Where can one find good data science course in India?". Also tell me which
Explain Hibernate Relationships with example.
Explain Hibernate Relationships with example.  Hello, Please explain various hibernate relationships. And if you can provide some examples... databases support one-to-one, one-to-many, many-to-many and many-to-one relationships
ModuleNotFoundError: No module named 'explain'
to install padas library. You can install explain python with following command...ModuleNotFoundError: No module named 'explain'  Hi, My Python... 'explain' How to remove the ModuleNotFoundError: No module named 'explain
Explain WML
Explain WML  hii, What is WML?   hello,ADS_TO_REPLACE_1 WML stands for Wireless Markup Language. It is a simple language used to create applications for small wireless devices like mobile phones. WML is analogous
can we mark the class with abstract..with out having any mothed in tit as abstract!!! - Java Beginners
can we mark the class with abstract..with out having any mothed in tit as abstract!!!  hi, can we wite an calls without any abstract methods... method. Abstract class must have atleast one abstract method. Thanks
Explain struts.jar file - Struts
Explain struts.jar file   Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
Explain Transparent Persistence - Hibernate
Explain Transparent Persistence   Hi Friends, Can u plz explain Transparent Persistence briefly  Hi Follow this link to find solution of your problem... http://www.roseindia.net/jdotutorials/jdo
Explain normalization concept?
Explain normalization concept?  Explain normalization concept
Explain unescape() and escape() in JavaScript?
Explain unescape() and escape() in JavaScript?  Explain unescape() and escape() in JavaScript
Explain Linked List
Explain Linked List   hello, What is Linked List ?   hello,ADS_TO_REPLACE_1 Linked List is one of the fundamental data structures. It consists of a sequence of nodes, each containing arbitrary data fields pointing

Ads