answersLogoWhite

0

How many types are there in java?

Updated: 8/11/2023
User Avatar

Wiki User

11y ago

Best Answer

The two basic data types in Java are primitives and objects.

Primitives: byte, char, short, int, long, float, double, boolean

Objects: Everything else.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

There can be infinite. Types can be defined by the programmer.

This answer is:
User Avatar

Add your answer:

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

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.


How many types of java programing?

Java 2 Programming Language Java Server Pages (JSP) Java Beans (JB) Enterprise Java Beans (EJB) Java Script (JS) Java Server Faces (JSF) JDBC Java 2 Enterprise Edition (J2EE) by jaan from dubai


How many simple data types are there?

There are a total of 8 simple or primitive data types in Java. They are:byteshortintfloatdoublebooleanlong andString


What is a Smart card OS?

There are many types of OS in a smart card.some are-Java CardMULTOSDash2Dash3


Applets are written in what programming language?

There are many types of applets, and they can be written in many different languages, but you're probably referring to the most widely known Java applets. So, they're written in a programming language called Java.


What are the two types of java?

Java is a programming language that has two main types: Java SE (Standard Edition): This is the core Java language that provides all the basic features and functionalities of Java. It includes the Java Virtual Machine (JVM), which is responsible for running Java programs, and the Java Development Kit (JDK), which is used for developing Java applications. Java EE (Enterprise Edition): This is a set of Java APIs (Application Programming Interfaces) and technologies that are used for developing large-scale, distributed, and enterprise-level applications. Java EE includes a variety of APIs such as Servlets, JSPs, EJBs, JPA, JMS, and many others. These APIs provide a rich set of features for developing complex and robust enterprise applications. For more information, please visit: 1stepGrow


How many types of classes are found in java?

1.Outer Classes 2. Inner Classes


Does java supports unsigned data types?

No, in Java, only signed numbers are defined.


What are the kinds of java programs?

the two types of java programs are Applet and application programs


Why java is not a pure object oriented?

java is not purely oops because of primitive types in java like int and float double


Why java called as strong type language?

That means that Java is fairly strict about data types.


What are the different types in java programming language?

core java ,jse.advanced jse,jee and j2me