Turn Desktop View Off
by Dinesh Thakur

Bytecode: The intermediate code produced by certain semi-compiled programming languages, in particular SMALLTALK and JAVA, So called because each instruction is one byte long. Source programs are com piled into bytecode, which is then executed by a bytecode INTERPRETER or VIRTUAL MACHINE that forms part of the language RUN-TIME SYSTEM. In such languages, programs may be distributed either in SOURCE CODE or in bytecode form.

 
by Dinesh Thakur

A very popular WEB SERVER developed and distributed free of charge as OPEN SOURCE software by an Internet-based community of unpaid volunteers. Apache's great strengths lie in the availability of its source code and its well-defined interface for writing add-on modules: many large and profitable e-commerce sites run on modified versions of Apache. The name is a wince-making pun on the phrase 'a patchy server', bestowed because of the numerous software PATCHES released for it in its early days.

 
by Dinesh Thakur

A Java program consists of different sections. Some of them are mandatory but some are optional. The optional section can be excluded from the program depending upon the requirements of the programmer.



 
by Dinesh Thakur

Java is a robust, general-purpose, high-level programming language and a powerful software platform. It is also object-oriented, distributed, portable and multi-threaded. Java follows the 'Write - once - run - anywhere' approach. All Java programs must run on the Java platform that has two components, the Java Virtual Machine (JVM) and the Java Application Programming Interface (API).



 
by Dinesh Thakur

It is better to have all numerical, strings and characters in terms of objects so to avail the facility of methods supplied with those objects. In that case, even if we want to perform any arithmetical operation, we do it with the help of methods instead of using arithmetical operators. But by this approach, performance decreases because method calls are relatively expensive.

 
by Dinesh Thakur

Comments are usually non executable statements which are meant for the programmers own convenience. A comment is usually explanation regarding the statement. There are three types of comments in java. They are:



 
by Dinesh Thakur

Type Conversion

Type Conversion is that which converts the one data type into another for example converting a int into float converting a float into double The Type Conversion is that which automatically converts the one data type into another but remember we can store a large data type into the other for ex we can t store a float into int because a float is greater than int Type Conversion is Also Called as Promotion of data Because we are Converting one Lower data type into higher data type So this is Performed Automatically by java  compiler



 
by Dinesh Thakur

Keywords also known as reserved words are the pre-defined identifiers reserved by Java for a specific purpose and used only in a limited, specific manner. A Keyword is that which have a special meaning those are already been explained to the java  language   like int, float, class, public etc these are the reserve keywords. They cannot be used as identifiers because they have special meaning within the language.



 
by Dinesh Thakur

Java Tokens:- A java Program is made up of Classes and Methods and in the Methods are the Container of the various Statements And a Statement is made up of Variables, Constants, operators etc . 



 
by Dinesh Thakur

By literal we mean any number, text, or other information that represents a value. This means what you type is what you get. We will use literals in addition to variables in Java statement.



 
by Dinesh Thakur

Identifier is is a simple variable name which is defined as the value container. The type of value stored by identifier is defined by the special java keyword is termed as primitive data type.



 
by Dinesh Thakur

A java variable can be declared using the keyword final. Then the final variable can be assigned only once.



 
by Dinesh Thakur

Keywords are the words. Those have specifics meaning in the compiler.

 
by Dinesh Thakur

 The process of converting one data type to another is called casting. Casting is often necessary when a function returns a data of type in different form then we need to perform an operation. Under certain circumstances Type conversion can be carried out automatically, in other cases it must be "forced" manually (explicitly). For example, the read() member function of the standard input stream (System.in) returns an int. If we want to store data of type int returned by read() into a variable of char type, we need to cast it :



 
by Dinesh Thakur

New is a Keyword Which is used when we are Creating an object of class For Storing all the data like variables and member functions  of class  there is some memory Space that is to be needed So that With the help of new Keyword and Object is Instantiated or Simply an object Reserves