Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


neelam
java-basics
1 Answer(s)      4 years ago
Posted in : Java Beginners


dear sir,
What is the range of the char type?

Advertisement
View Answers

October 9, 2010 at 12:43 PM


The range of the char is calculated as 2^16-1.
according this the range of char is 0 to 65536.


Related Tutorials/Questions & Answers:
Java Basics - Java Beginners
Java Basics   Dear Sir/Madam, Is Array Static? If Yes How can we say Array is static? Thanks and Regards, M.KethraBalan@Arumugam
Java basics - Java Beginners
Java basics - Java Beginners  What is UNICODE?  Unicode is a system of encoding characters. Most of the world's writing systems, characters and Strings in Java use the Unicode encoding.Each Unicode character is defined
Advertisements
Java basics - Java Beginners
Java basics - Java Beginners  what is the difference between Procedural and OOPs?  The focus of procedural programming is to creates a step by step program that guides the application through a sequence of instructions
Learning Java Basics
Learning Java Basics You can start your career in Java technologies first by learning the basics of java and some part of advance java. Some companies may provide you jobs if you have good hold on basics of java. You many get job
java basics
java basics  how to show all the decimal places in a double value
java basics
java basics  1.Write a program that will grade the students quiz. The program will ask the user to enter the number of the questions in the quiz, the right answer for each question and save it in array. The program will ask
java basics
java basics  Sir i want to searching through name and id in java. and i want to show all the record(like father`s name, date of joining, maid add and mobile no. etc) of particular employee by choosing id and name   
java basics
java basics  Write a java program to calculate the sum of the series as given below: 1 - 2 + 3 - 4 + 5 - 6 + 7 - 8 + 9
Java basics
Java basics  What do you mean by Legacy class
Java basics
Java basics  When is static variable loaded
Java basics
Java basics  Explain about Initialization Blocks
Java basics
Java basics  Can we create an object for an interface
java-basics
java-basics  hi anybody tell me, JVM is a compiler or an interpreter?  JVM is not a compiler, it is a interpreter
java-basics
java-basics  hi,tell me what is the JIT and usage of it?  The just-in-time compiler compiles byte code into native machine language.Java programs compiled by a JIT generally run much faster than when the bytecode
JAVA Basics
JAVA Basics  What is byte code?  Java programs are compiled and compiler generate a class files which contain byte codes. These byte codes can be run in any platform which makes java platform independent language
JAVA Basics
JAVA Basics  What is the byte range?  We can find the range as 2^8=256, so The range of the byte is -128 to 127
java-basics
java-basics  hi, tell me the difference between Procedural and OOPs?  The focus of procedural programming is to creates a step by step program that guides the application through a sequence of instructions. whereas
java basics
java basics  What are the different driver types available in JDBC... Java driver, also called Type 2. JDBC-Net, pure Java driver, also called Type 3. Native-protocol, pure Java driver, also called Type 4
java basics
java basics  What are Encapsulation, Inheritance and Polymorphism?  Encapsulation - Hiding the implementation details of a Class. Once a class is Encapsulated then we Cannot directly access that class
java basics
java basics  What is Locale
java basics
java basics  What is a hashCode?  Objects in Java have hashcodes associated with them. Object's hashcode is a signed number that identifies the object, but it is not unique for every object
java basics
java basics  What is difference between overloading and overriding?  Overriding - same method names with same arguments and same return types associated in a class and its subclass. class rose{ public void show
java basics
java basics  What is the difference between Assignment and Initialization?  Initialization means whenever we initialize any var. at declaration time. int i = 0; is an initialization Assignment means whenever we
java basics
java basics  What is method overloading and method overriding?  Overriding -when you extend a class and write a method in the derived class which is exactly similar to the one present in the base class, it is termed
java basics
java basics  What is the difference between superclass and subclass?  The class which inherit the property of another class is known as "subclass" and the class who shares it's structure and behavior is called as "super
java basics
java basics  null is a keyword or not in java?  null might seem like keywords, but they are actually literals; you cannot use them as identifiers in your programs.null keyword in java programming language is a reserved
java basics
java basics  What is finalize() method ?  The java run time calls that method whenever it is about to recycle an object of that class. The intent is for finalize() to release system resources such as open files
java basics
java basics  What is skeleton and stub
java basics
java basics  What is a local, member and a class variable
java basics
java basics  What do you mean by a Classloader?  The Java Classloader is a part of the Java Runtime Environment that dynamically loads Java classes into the Java Virtual Machine
java basics
java basics  What is the use of transient keyword?  The transient keyword is applicable to the member variables of a class. The transient keyword is used to indicate that the member variable should not be serialized
Advertisements
 

 

 

DMCA.com