Cable Internet
Java Programming
.NET Programming

What is Java Container Class?

252627

Top Answer
User Avatar
Wiki User
Answered
2009-04-08 08:50:48
2009-04-08 08:50:48

A class that is used to contain other java objects. They contain methods for adding and removing objects, as well as ways to iterate through them. They tend to differ mostly by how the objects are referenced (by key or no), by how fast their various methods execute, and by how much memory the container uses. Examples include: java.util.Vector java.util.Hashtable java.util.HashSet

345
๐Ÿ˜‚
0
๐ŸŽƒ
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
User Avatar

Related Questions


Because it is not a regular Java Class that is executed by a JVM. It is a special Java class that is executed by the Web Container which initializes and loads the servlet and the service methods get executed everytime it receives a request.


In Java, a Container is an AWT superclass which simply describes any Component class that can contain other Component objects. A Panel is a specific type of Container.


A java class file contains java classes.


Object Class is the parent class of all classes in java.Every class in the Java system is a descendant (direct or indirect) of the Object class.


Java source files have the .java extension, compiled Java class files have the .class extension.


Well, the Container extends Component, so ALL containers in Java are components. This includes classes like Panel, ScrollPane, Window, and JComponent. Plus all the various generations of subclasses of each of those containers.



Java source files have the .java extension, compiled Java class files have the .class extension.


Classes are not base class of itself. Every class in Java is a derived class. Every class in Java has 'Object' as the Superclass. The Object class is the only class in JAVA that has no Superclass!


I don't see why it couldn't be. Unless the Java class uses techniques or methods which are available to Java but not C++, then there is no reason that a C++ class couldn't be based on a Java class.


When you compile a Java source file (.java) you get a Java bytecode file (.class). The bytecode in these .class files can be executed by the Java Virtual Machine.


The actions in a java class are called methods.


A class is a file that ends in .java


Object is the main class in Java Program


without class non of the folder can run so the java program should start in class we can use the class without object in java


i am management student,and want to know answer that ,what is date class in java?


We can't call a class. We always call a method in java.


What i know is java we will use compiler when it want to get class file(file with .class extension) from java file(file with .java extension).


On the command line, type "java" followed by the filename of the compiled class, e.g.:java myClass.classOn the command line, type "java" followed by the filename of the compiled class, e.g.:java myClass.classOn the command line, type "java" followed by the filename of the compiled class, e.g.:java myClass.classOn the command line, type "java" followed by the filename of the compiled class, e.g.:java myClass.class


Class in java Programming is nothing but a collection of methodes used in different programmig. example of Java class is Rectangle,*etc etc.


To get rid of the Java lang no class deffound error, one must add the class or .jar file which contains this class into the Java classpath. When a Java class is run from the command line, one must add a dot (.)


All classes in java must inherit from the Object class


Yes, the base class for all other Java classes is Object.


When the programmer has not coded a constructor for any java class.


An Anonymous class in Java is one that does not have a name. It is usually created inside a class



Copyright ยฉ 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.