What is the difference between superclass and subclass?
October 9, 2010 at 5:17 PM
The class which inherit the property of another class is known as "subclass" and the class who shares it's structure and behavior is called as "super class". A super class is inherited and sub class is a class that does the inheriting.Subclass can access all the methods, variables of super class and not vice-versa.
java basics java basics What is the use of prepared-statement
java basics java basics how to show all the decimal places in a double value
Java basics Java basics What do you mean by Legacy class
Java basics Java basics Can we create an object for an interface
java basics java basics What is a local, member and a class variable
Java basics Java basics Why only one Class is public in one file
java-basics java-basics please tell me, what is the Difference between JRE,JVM and JDK? hi,
JDK or the Java Development Kit is a set tools
include compiler (javac.exe), Java application launcher
java basics java basics Write a java program to calculate the sum of the series as given below:
1 - 2 + 3 - 4 + 5 - 6 + 7 - 8 + 9
java basics java basics What is a native method? The Java native method is a great way to gain and merge the power of C or C++ programming into Java. To use Java as a scientific and high performance language, when efficient
JAVA Basics JAVA Basics What is byte code? Java programs are compiled and compiler generate a class files which contain byte codes. These byte codes can be run in any platform which makes java platform independent language
java basics java basics What is a hashCode? Objects in Java have hashcodes associated with them. Object's hashcode is a signed number that identifies the object, but it is not unique for every object
java basics java basics What is an applet? An applet is a program written in the Java programming language that can be included in an HTML page,
much in the same way an image is included in a page.
When you use a Java
java-basics java-basics hi anybody tell me, JVM is a compiler or an interpreter? JVM is not a compiler, it is a interpreter
java basics java basics What are the different driver types available in JDBC... Java driver, also called Type 2.
JDBC-Net, pure Java driver, also called Type 3.
Native-protocol, pure Java driver, also called Type 4
java basics java basics What are the implicit packages that need not get imported into a class file