Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What primitive Java types? Howmany are they and what are
their names?

Answers were Sorted based on User's Feedback



What primitive Java types? Howmany are they and what are their names?..

Answer / ramesh

primitive type is predefined in java.
byte , int ,short ,long , float , double,boolean and char
are the primitive data types used in java.

Is This Answer Correct ?    7 Yes 0 No

What primitive Java types? Howmany are they and what are their names?..

Answer / prasanna

They are implicitly defined in Java.There are 8 of them and
they are:
boolean,char,byte,short,int,long,float,double

Is This Answer Correct ?    7 Yes 0 No

What primitive Java types? Howmany are they and what are their names?..

Answer / ravikiran(aptech mumbai)

primitive datatypes are the one which will allocate some
memory in the stack.And there are 8 primitive data types
1).byte
2).short
3).int
4).long
5).float
6).double
7).char
8).boolean

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Core Java Interview Questions

if i have one string class then how can you achive this class functionality of this class?

3 Answers   Fidelity, iFlex,


How do you convert an int to a double in java?

0 Answers  


Which collection does not allow duplicates in java?

0 Answers  


What will happen when using pass by reference in java?

0 Answers   HCL,


What is instance means in java?

0 Answers  


What are implicit objects in java?

0 Answers  


Are private methods final?

0 Answers  


What is the difference between integer parseint and integer valueof?

0 Answers  


Can we access instance variables within static methods ?

0 Answers  


Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.

0 Answers  


What defines function?

0 Answers  


What is java in layman terms?

0 Answers  


Categories