answersLogoWhite

0

How many types of classes are found in java?

Updated: 8/18/2019
User Avatar

Wiki User

12y ago

Best Answer

1.Outer Classes

2. Inner Classes

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How many types of classes are found in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many classes should be included in each java file?

You can only have one non-inner public classes per java file and that class name must match the filename. The java file can also have any number of inner classes and anonymous classes.


How many pre-built or predefined classes are there in JAVA?

In java 1.1 version 250 classes are there java 1.2 version 500 classes are there i don't about other versions. but i want to know other version classes also. please post any body known these other version classes list....


What classes are needed for java web development?

There are many different classes that teach Java Web Development. You must be comfortable with the coding language Javascript and have a basic grasp on how the internet and programming works.


How many packages available in java?

A Java package is a mechanism for organizing Java classes into namespaces similar to the modules of Modula. Java packages can be stored in compressed files called JAR files, allowing classes to download faster as a group rather than one at a time. Programmers also typically use packages to organize classes belonging to the same category or providing similar functionality.· A package provides a unique namespace for the types it contains.· Classes in the same package can access each other's members.package is a container in which similar classes are grouped together.package avoid the redundance of classes. it also provide security to hide the code only by importing the packege which contains the required class.


What are the types of java program?

There are many different types of Java programs. a. Simple Standalone applications - They are simple java programs that have a bunch of classes and have a starting class that has a main method b. UI Based Applications - These are UI based applications built using AWT or Java Swings c. J2EE Web Applications - These are web based applications that can be run in a web browser. They are coded using technologies like servlets, jsp, hibernate, spring etc.


What are the types of non primitive in java?

There are 8 primitive data types: byte, short, int, long, float, double, boolean, charany other data type in Java can be considered non primitive data type.Ex: StringString data type can also be known as the primitive data type because it is already provided by the Java language, since it is not a data type but its a class, but as we know that we can use the classes as types for the variables/instance variables, as we use while creating an object of any class, hence the classes that we create and use them as a datatype are known as non-primitive datatype....for any query, mail me on engineer.sooraj@gmail.com or call me on +92-331-350-6956.....


Does java script coding mean using it for Java programs only?

Java script coding is computer coding, many things require Java, and you need to have Java enabled to view these types of programs.


In main memory how many bits num variable will hold?

That depends on the programming language, and on the specific data type. Java, for example, has integers of different sizes; for example, an int uses 4 bytes, and a long uses 8 bytes. It also has shorter integer data types. Java also has different types of floating point numbers; for example, a double uses 8 bytes, and a float uses 4 bytes. Java also has classes for arbitrary-precision math (classes BigInt and BigMath); in this case, the size in memory for a number will vary, depending on the number of digits.That depends on the programming language, and on the specific data type. Java, for example, has integers of different sizes; for example, an int uses 4 bytes, and a long uses 8 bytes. It also has shorter integer data types. Java also has different types of floating point numbers; for example, a double uses 8 bytes, and a float uses 4 bytes. Java also has classes for arbitrary-precision math (classes BigInt and BigMath); in this case, the size in memory for a number will vary, depending on the number of digits.That depends on the programming language, and on the specific data type. Java, for example, has integers of different sizes; for example, an int uses 4 bytes, and a long uses 8 bytes. It also has shorter integer data types. Java also has different types of floating point numbers; for example, a double uses 8 bytes, and a float uses 4 bytes. Java also has classes for arbitrary-precision math (classes BigInt and BigMath); in this case, the size in memory for a number will vary, depending on the number of digits.That depends on the programming language, and on the specific data type. Java, for example, has integers of different sizes; for example, an int uses 4 bytes, and a long uses 8 bytes. It also has shorter integer data types. Java also has different types of floating point numbers; for example, a double uses 8 bytes, and a float uses 4 bytes. Java also has classes for arbitrary-precision math (classes BigInt and BigMath); in this case, the size in memory for a number will vary, depending on the number of digits.


Is sizeof keyword in Java?

sizeof is not a keyword in Java but many classes have size() or length() methods, which can mean the number of elements, characters, etc. depending on the class.


How many classes available in java SMPP protocal api?

http://opensmpp.logica.com/CommonPart/Documentation/Documentation.htm


What are the classes and types of insurance in Nigeria?

How many types of insurance do we have in nigeria


Where is it possible to download Sun Java?

There are many websites that run on a Java format and downloading Sun Java can help that. The download can be found through the Java website and through Oracle.