primitive data types in Java ?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
byte, short, int, long, float, double, char, boolean
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / vijayakumar chinnasamy
Primitive data type:
====================
1 Numeric: type
a. whole numbers: byte,short,int,long
b.float numberis: float,double
2.character type
char
3.Boolean type
boolean
Abstract data type (ADT):
========================
String
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
byte
short
int
long
float
double
char
| Is This Answer Correct ? | 5 Yes | 4 No |
Explain yield() method in thread class ?
What does \ mean in regex?
what is the difference between yielding and sleeping? : Java thread
Explain the public class modifier?
How do you define a singleton class?
What is an enumeration?
If I will write String s=new String("XYZ"); String s1=new String("XYZ"); if(s.equals(s1)){ sop("True"); } else{ sop("False"); } This program will give me "True". But When I am creating my own class suppose class Employee{ public Employee(String name); } Employee e= new Employee("XYZ"); Employee e1 = neew Employee("XYZ"); if(e.equals(e1)){ sop("True"); } else{ sop("False"); } Then it will give the output as "False". Can I know what is happening internally?
How many bits is size_t?
What is the purpose of having the concept of overloading?
What does provide mean construction?
What is substring 1 in java?
What is a void method java?