answersLogoWhite

0


Best Answer

The non-class Java data types are primitives:

* byte * short * int * long * float * double * boolean * char

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the only types in Java that are not classes?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Do the primitive datatypes in java have objects?

No Primitive data types do not have objects. As of Java 1.5, all primitive types in Java have "wrapper" classes. These classes serve two purposes: # They keep all type-specific methods together in one place. # They allow primitive types to be used in situations which take advantage of generics (also introduced in Java 1.5).


What are sealed classes in java?

Final classes are sealed classes in java I guess.


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.


What is Difference between java and core java?

Java or Java SE comes with the standard library, with all the crazy classes to make life easy. Java Core does not come with most of these classes, so that it is a lot smaller.


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.

Related questions

How many types of classes are found in java?

1.Outer Classes 2. Inner Classes


Do the primitive datatypes in java have objects?

No Primitive data types do not have objects. As of Java 1.5, all primitive types in Java have "wrapper" classes. These classes serve two purposes: # They keep all type-specific methods together in one place. # They allow primitive types to be used in situations which take advantage of generics (also introduced in Java 1.5).


What are sealed classes in java?

Final classes are sealed classes in java I guess.


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.


Can a .java file contain more than one java classes?

Yes, it can. However, there can only be one public class per .java file, as public classes must have the same name as the source file.


Does java supports unsigned data types?

No, in Java, only signed numbers are defined.


What can you tell me about SQL server classes?

SQL server classes are for computer science majors and they involve learning how to code in JAVA and PERL, which are two important types of languages.


Can always create objects of all types of classes?

Of course, JAVA programming has a stricter syntax format than C++


What is Difference between java and core java?

Java or Java SE comes with the standard library, with all the crazy classes to make life easy. Java Core does not come with most of these classes, so that it is a lot smaller.


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 is a collection of related classes called in java?

a package


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.