Data types of LONG, INT, SHORT, CHAR
To define the data types such as LONG, INT, SHORT, CHAR write a program?
Expert
The data type like LONG, INT, SHORT, CHAR does not describe the specific length and it can be determined only by the host machine.
a. It defines that the bits which are used with each of the types and the notation used for the above mentioned types.
b. The LONG is being referred by the prefix l whose upper-case is L.
c. INT is a variable that can be prefixed with i or ui that indicates the integer as well as unsigned integers.
d. CHAR is prefixed with c or uc which also mean character and unsigned character respectively.
e. The size of the data types are platform independent and the size of the variable also not matter.
f. They can be defined as:-
typedef long LONG; typedef unsigned long ULONG; typedef int INT; typedef unsigned int UINT; typedef short SHORT; typedef unsigned short USHORT; typedef char CHAR; typedef unsigned char UCHAR;
Explain the COM components?
Java Virtual Machine (JVM): It is an idealized machine whose instruction set comprises of bytecodes. Java program is compiled to an equal bytecode form and performed on an interpreter that implements the JVM.
Multiple-boot options: The hardware configurations of several computers are capable to run various operating system and window manager combinations. A few systems permit a user to select which combination they wish to utilize during a specific session
Super class: It is a class which is extended by one or more sub classes. All Java classes encompass the Object class as a super-class.
State: The objects are said to possess state. The present state of an object is symbolized by the joint values of its attributes. Protecting the state of an object from unsuitable inspection or modification is a significant aspect of class design and
Coupling: Coupling occurs whenever classes are aware of each of other as their instances should interact. The linkage between two classes which might be either weak or strong. Stronger coupling occurs whenever one class has a thorough knowledge of the
Differentiate between RDO and ADO?
Someone complains that throughout system testing the application frequently crashes. What probable process problem does which indicate?
APPLET: an applet is an application designed to tra
Q. Explain the concept of public classes in java. How they are useful?
18,76,764
1949542 Asked
3,689
Active Tutors
1423363
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!