Thursday 26 April 2018

๐Ÿ‡๐Ÿ‡๐Ÿ‡เคคเค–ुเคฆ เค•ी เค–ोเคœ เคฎें เคจिเค•เคฒ๐Ÿ‡๐Ÿ‡๐Ÿ‡๐Ÿ‡

เคคू เค•िเคธ เคฒिเค เคนเคคाเคถ เคนै เคคू เคšเคฒ, เคคेเคฐे เคตเคœूเคฆ เค•ी
เคธเคฎเคฏ เค•ो เคญी เคคเคฒाเคถ เคนै
เคธเคฎเคฏ เค•ो เคญी เคคเคฒाเคถ เคนै.....๐Ÿ‡๐Ÿ‡๐Ÿ‡๐Ÿ‡

เคœो เคคुเค เคธे เคฒिเคชเคŸी เคฌेเคก़िเคฏाँ
เคธเคฎเค เคจा เค‡เคจ เค•ो เคตเคธ्เคค्เคฐा เคคू 2
เคฏे เคฌेเคก़िเคฏाँ เคชिเค˜ाเคฒ เค•े
เคฌเคจा เคฒे เค‡เคจเค•ो เคถเคธ्เคค्เคฐा เคคू
เคฌเคจा เคฒे เค‡เคจเค•ो เคถเคธ्เคค्เคฐा เคคू๐Ÿ—ก๐Ÿ—ก๐Ÿคบ๐Ÿคบ....

๐Ÿšด‍♂เคคू เค–ुเคฆ เค•ी เค–ोเคœ เคฎें เคจिเค•เคฒ๐Ÿšด‍♂
เคคू เค•िเคธ เคฒिเค เคนเคคाเคถ เคนै
เคคू เคšเคฒ, เคคेเคฐे เคตเคœूเคฆ เค•ी
เคธเคฎเคฏ เค•ो เคญी เคคเคฒाเคถ เคนै
เคธเคฎเคฏ เค•ो เคญी เคคเคฒाเคถ เคนै๐Ÿšด‍♂๐Ÿšด‍♂๐Ÿšด‍♂๐Ÿšด‍♂๐Ÿšด‍♂๐Ÿšด‍♂๐Ÿšด‍♂๐Ÿšด‍♂๐Ÿšด‍♂๐Ÿ„‍♂๐Ÿ„‍♂๐Ÿ„‍♂.....

๐Ÿง—‍♀๐Ÿง—‍♀เคšเคฐिเคค्เคฐा เคœเคฌ เคชเคตिเคคเคฐा เคนै๐Ÿง—‍♀๐Ÿง—‍♀
เคคो เค•्เคฏूँ เคนै เคฏे เคฆเคถा เคคेเคฐी 

เคฏे เคชाเคชिเคฏों เค•ो เคนเค•़ เคจเคนी
เค•ी เคฒें เคชเคฐीเค•्เคทा เคคेเคฐी.......๐Ÿง—‍♀๐Ÿง—‍♀๐Ÿ‡๐Ÿ‡⛷⛷⛷⛷⛷๐Ÿคบ๐Ÿคบ๐Ÿคบ

⛹‍♀⛹‍♀เคค เค–ुเคฆ เค•ी เค–ोเคœ เคฎें เคจिเค•เคฒ⛹‍♀⛹‍♀
เคคू เค•िเคธ เคฒिเค เคนเคคाเคถ เคนै
เคคू เคšเคฒ, เคคेเคฐे เคตเคœूเคฆ เค•ी
เคธเคฎเคฏ เค•ो เคญी เคคเคฒाเคถ เคนै.......๐Ÿ‹️‍♂๐Ÿ‹️‍♂๐Ÿ„‍♂๐Ÿ„‍♂๐Ÿง—‍♀๐Ÿง—‍♀๐Ÿ‡๐Ÿ‡๐Ÿ‡

เคœเคฒा เค•े เคญเคธ्เคฎ เค•เคฐ เค‰เคธे
เคœो เค•्เคฐूเคฐเคคा เค•ा เคœाเคฒ เคนै ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ

เคคू เค†เคฐเคคी เค•ी เคฒाเค‰ เคจเคนी
เคคू เค•्เคฐोเคง เค•ी เคฎเคถाเคฒ เคนै๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ
เคคू เค•्เคฐोเคง เค•ी เคฎเคถाเคฒ เคนै..........๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ

เคคू เค–ुเคฆ เค•ी เค–ोเคœ เคฎें เคจिเค•เคฒ
เคคू เค•िเคธ เคฒिเค เคนเคคाเคถ เคนै

เคคू เคšเคฒ, เคคेเคฐे เคตเคœूเคฆ เค•ी
เคธเคฎเคฏ เค•ो เคญी เคคเคฒाเคถ เคนै
เคธเคฎเคฏ เค•ो เคญी เคคเคฒाเคถ เคนै......⛷⛷⛷⛷⛷⛷⛷

เคšुเคจเคฐ เค‰เคก़ा เค•े เคง्เคตเคœ เคฌเคจा
เค—เค—เคจ เคญी เค•เคชเค•ाเคเค—ा ⚡️⚡️⚡️⚡️๐ŸŒฅ๐ŸŒฅ

เค…เค—เคฐ เคคेเคฐी เคšुเคจเคฐ เค—िเคฐी
เคคो เคเค• เคญूเค•ंเคช เค†เคเค—ा
เคคो เคเค• เคญूเค•ंเคช เค†เคเค—ा......๐ŸŒŠ๐ŸŒŠ๐ŸŒŠ๐ŸŒง๐ŸŒง

เคคू เค–ुเคฆ เค•ी เค–ोเคœ เคฎें เคจिเค•เคฒ
เคคू เค•िเคธ เคฒिเค เคนเคคाเคถ เคนै เคคू เคšเคฒ, 
เคคेเคฐे เคตเคœूเคฆ เค•ी
เคธเคฎเคฏ เค•ो เคญी เคคเคฒाเคถ เคนै ⛷

Friday 23 March 2018

Comment line in java

Comments allow us to place any form of documentation inside our Java code. They can
contain anything that we can type on the keyboard: English, mathematics, even lowresolution
pictures. In general, Java recognizes comments as tokens, but then excludes
these tokens from further processing; technically, it treats them as white space when it is
forming tokens.
Comments help us capture aspects of our programs that cannot be expressed as Java
code. Things like goals, specification, design structures, time/space tradeoffs, historical
information, advice for using/modifying this code, etc. Programmers intensely study their
own code (or the code of others) when maintaining it (testing, debugging or modifying
it). Good comments in code make all these tasks much easier.
Java includes two styles for comments.
(1) Line-Oriented:- begins with // and continues until the end of the line.
(2) Block-Oriented:- begins with /* and continues (possibly over many lines) until */
is reached.
o So, we can use block-oriented comments to create multiple comments within a
line
display (/*Value*/ x, /*on device*/ d);
In contrast, once a line-oriented comment starts, everything afterward on its
line is included in the comment.
We can also use block-oriented comments to span multiple lines
/*
this is a multi-line comment.
No matter home many lines
it includes, only one pair
of delimiters are needed
*/

Tokens

In a Java program, all characters are grouped into symbols called tokens.
Java language features are built from the first five categories of tokens.
(a) Keyword
(b) Identifier
(c) Literal / constant
(d) Operator
(e) Punctual latter / Separator

(a) Keyword:

Keywords are the reserved words for a language, which express the language
features. Keywords cannot be used to name variables, constants, or classes. Java is a casesensitive
language and the keywords should be written in lowercase only. The keywords with
all or some letters in uppercase can be treated as a variable name but that should be avoided.
Listed java keywords.
Finally, assert was recently added (in Java 1.4) to the original 48 keywords in Java.

(b) Identifier:  

Identifiers are used by programmers to name things in Java: - things such as
variables, methods, fields, classes, interfaces, exceptions, packages, etc.
Identifiers: - be meaningful and unique
ex:- bsic_sal
amt_ valid
gros_sal
(1) It is combination of alphabets, digits or underscore (_).it means digits cannot be used
of identifiers
ex:- salary
balary valid
Basic _salary
5.year invalid
Ex:-basic_Sal
Amt gross_Sal
Interest _sxear
(2) First character of identifier most be an alphabet or under _score (_).it minus digits
Character of identifier
ex :- salary valid
basic_salary
(3) Number special symbols can be used except (_) underscore
ex:-basic_sal
principal_sal valid
loan& salary invalid
my*salry
(4) No keyword: - are used as identifier
ex:- int
float invalid identifier
double
(5) Identifier: - doesn’t contain any white space
Ex:-basic sal invalid
Price amt
Pascal basic_sal valid
Prince _amt prince_amt
(6) Identifier:-can have maximum 31 or 32 character is signification
Ex:-Student roll errors both are some
Student marks

(c) Literal / constant: 

Literals are the values to be stored in variables and constants. A literal
contains a sequence of characters, such as digits, alphabets, or any other symbol that
represents the value to be stored. The various types of literals in Java.
Two types of literal/ constant in java
(a) Numeric
(1) integer-literal
(2) floating-point-literal
(3) Boolean-literal
(b) Non_ Numeric

(a) Numeric literal: - 

it is a work on number or numeric values.

(1) Integer-literal:- 

Are numeric type values. The numerical values can be represented
in octal and hexadecimal notation. The octal notation of a number is prefixed by
zero and hexadecimal numbers are prefixed by 0x.
For example, n=0123is integer literal in
octal notation, n=0x456 is integer literal in hexadecimal notation,
and n=2is decimal notation for an integer literal.
non-zero-digit = 1|2|3|4|5|6|7|8|9
digit = 0 | non-zero-digit
digits = digit{digit}
decimal-numeral = 0 | non-zero-digit[digits]
integer-literal = decimal-numeral
octal-numeral
hexadecimal-numeral
(1) character-literal
(2) string-literal
(3) null-literal
(2) Floating-point-literal:- Are numeric values with fractional part. For example,
x=7.9is a floating point literal.
Exponent-indicator = e | E
exponent-part = exponent-indicator [+|-] digits
floating-point-literal = digits exponent-part
digits.[digits] [exponent-part]
.digits[exponent-part]
...........................................................................................................................................................
(3) Boolean-literal: - Are the literals having value, true or false. For example,
x=false is a boolean literal.
Literals of the primitive type Boolean represent on/off, yes/no, present/absent
data. There are only two values of this primitive type, so its ENBF rule is trivially
written as
Boolean-literal = true | false
…………………………………………………………………………………………………………
(b) Non_ Numeric:- A literal /constant which is related two charter is called non numeric
Constant .it is of two type.
(1) Character-literal: - Are represented in single quotation marks.
For example, x=‘k’| 'graphic' | 'space' | 'escape-sequence' is a character literal.
(2) String-literal: - Are enclosed in double quotation marks. For example, x="James”
|”niraj kumar Sharma”| "{graphic | space | escape-sequence}" is a string
literal.

JAVA PROGRAMMING

How to set path in java programming

Setep1:-- install java application in host machine
Step2:-- Open my computer and go C drive chose all program chose java bin copy
(ctrl+c) path
Step3:- my computer right click goto his properties select advance system seting ok.
Go envorment variables chose new paste selected path jdk/bin (ctrl+v)
%path%; C:\Program Files\Java\jdk1.6.0\bin;.
Step4:-- open command prompt (windows+r type (cmd))
Step5:-- dir java Step6:- open notpad type source code save (niraj.java)
Step7: compile (javac niraj.java) run program (java niraj)

Type casting conversion

It is a concept use in almost all language to assign the value of one type into another type. Java
also supports such future to convert / type cast one type of value into another type of value.

It convert data from one type to another type is also known as type casting conversion.
Two type of type casting in java.

(1) Implicit conversion
(2) Explicit conversion

(1) Implicit Conversion

Implicit conversion refers to an automatic conversion of one data type to another. It
occurs if both the data types are compatible with each other.
For example, you can assign a value of int type to a variable of long data type.
class implicitc
{
                   public static void main(String... args)
                 {
                         int n=100;
                         System.out.println(n);
                         long m=n;
                        System.out.println(m);
                       double p=m;
                       System.out.println(p);
                  }
}

(2) Explicit Conversion

Explicit conversion occurs when one data type cannot be implicitly converted to another
data type. In an explicit conversion, you must convert the data type to the compatible
type.
For example, the int type is large enough to store a byte value. Therefore, it does
not require any explicit conversion. However, assigning an int value to a byte type
would require explicit conversion as the range of the byte type is smaller as compared
to the int type
 You can use the following code to perform type casting of an int number, 259and
a double number, 350.55to byte type:
class TypeCast
{
              public static void main(String arr [])
             {
                   byte b;
                     int i = 259;
                    double d = 350.55;
                    b = (byte) i;
                    System.out.println("Value of int to byte conversion" + b);
                    b = (byte) d;
                        System.out.println("Value of double to byte conversion" + b);
                       i = (int) d;
                     System.out.println("Value of double to int conversion" + i);
                }
}
เคเค• เคšूเคนा เคเค• เค•เคธाเคˆ เค•े เค˜เคฐ เคฎें เคฌिเคฒ เคฌเคจा เค•เคฐ เคฐเคนเคคा เคฅा।

เคเค• เคฆिเคจ เคšूเคนे เคจे เคฆेเค–ा เค•ि เค‰เคธ เค•เคธाเคˆ เค”เคฐ เค‰เคธเค•ी เคชเคค्เคจी เคเค• เคฅैเคฒे เคธे เค•ुเค› เคจिเค•ाเคฒ เคฐเคนे เคนैं। เคšूเคนे เคจे เคธोเคšा เค•ि เคถाเคฏเคฆ เค•ुเค› เค–ाเคจे เค•ा เคธाเคฎाเคจ เคนै।

เค‰เคค्เคธुเค•เคคाเคตเคถ เคฆेเค–เคจे เคชเคฐ เค‰เคธเคจे เคชाเคฏा เค•ि เคตो เคเค• เคšूเคนेเคฆाเคจी เคฅी।

เค–़เคคเคฐा เคญाँเคชเคจे เคชเคฐ เค‰เคธ เคจे เคชिเค›เคตाเคก़े เคฎें เคœा เค•เคฐ เค•เคฌूเคคเคฐ เค•ो เคฏเคน เคฌाเคค เคฌเคคाเคˆ เค•ि เค˜เคฐ เคฎें เคšूเคนेเคฆाเคจी เค† เค—เคฏी เคนै।

เค•เคฌूเคคเคฐ เคจे เคฎเคœ़ाเค• เค‰เคก़ाเคคे เคนुเค เค•เคนा เค•ि เคฎुเคे เค•्เคฏा? เคฎुเคे เค•ौเคจเคธा เค‰เคธ เคฎें เคซँเคธเคจा เคนै?

เคจिเคฐाเคถ เคšूเคนा เคฏे เคฌाเคค เคฎुเคฐ्เค—े เค•ो เคฌเคคाเคจे เค—เคฏा।

เคฎुเคฐ्เค—े เคจे เค–िเคฒ्เคฒी เค‰เคก़ाเคคे เคนुเค เค•เคนा… เคœा เคญाเคˆ.. เคฏे เคฎेเคฐी เคธเคฎเคธ्เคฏा เคจเคนीं เคนै।

เคนเคคाเคถ เคšूเคนे เคจे เคฌाเคก़े เคฎें เคœा เค•เคฐ เคฌเค•เคฐे เค•ो เคฏे เคฌाเคค เคฌเคคाเคˆ… เค”เคฐ เคฌเค•เคฐा เคนँเคธเคคे เคนँเคธเคคे เคฒोเคŸเคชोเคŸ เคนोเคจे เคฒเค—ा।

เค‰เคธी เคฐाเคค เคšूเคนेเคฆाเคจी เคฎें เค–เคŸाเค• เค•ी เค†เคตाเคœ़ เคนुเคˆ,  เคœिเคธ เคฎें เคเค• เคœ़เคนเคฐीเคฒा เคธाँเคช เคซँเคธ เค—เคฏा เคฅा।

เค…ँเคงेเคฐे เคฎें เค‰เคธเค•ी เคชूँเค› เค•ो เคšूเคนा เคธเคฎเค เค•เคฐ เค‰เคธ เค•เคธाเคˆ เค•ी เคชเคค्เคจी เคจे เค‰เคธे เคจिเค•ाเคฒा เค”เคฐ เคธाँเคช เคจे เค‰เคธे เคกเคธ เคฒिเคฏा।

เคคเคฌीเคฏเคค เคฌिเค—เคก़เคจे เคชเคฐ เค‰เคธ เคต्เคฏเค•्เคคि เคจे เคนเค•ीเคฎ เค•ो เคฌुเคฒเคตाเคฏा। เคนเค•ीเคฎ เคจे เค‰เคธे เค•เคฌूเคคเคฐ เค•ा เคธूเคช เคชिเคฒाเคจे เค•ी เคธเคฒाเคน เคฆी।

เค•เคฌूเคคเคฐ เค…เคฌ เคชเคคीเคฒे เคฎें เค‰เคฌเคฒ เคฐเคนा เคฅा।

เค–เคฌเคฐ เคธुเคจเค•เคฐ เค‰เคธ เค•เคธाเคˆ เค•े เค•เคˆ เคฐिเคถ्เคคेเคฆाเคฐ เคฎिเคฒเคจे เค† เคชเคนुँเคšे เคœिเคจเค•े เคญोเคœเคจ เคช्เคฐเคฌंเคง เคนेเคคु เค…เค—เคฒे เคฆिเคจ เค‰เคธी เคฎुเคฐ्เค—े เค•ो เค•ाเคŸा เค—เคฏा।

เค•ुเค› เคฆिเคจों เคฌाเคฆ เค‰เคธ เค•เคธाเคˆ เค•ी เคชเคค्เคจी เคธเคนी เคนो เค—เคฏी, เคคो เค–ुเคถी เคฎें เค‰เคธ เคต्เคฏเค•्เคคि เคจे เค•ुเค› เค…เคชเคจे เคถुเคญเคšिंเคคเค•ों เค•े เคฒिเค เคเค• เคฆाเคตเคค เคฐเค–ी เคคो เคฌเค•เคฐे เค•ो เค•ाเคŸा เค—เคฏा।

เคšूเคนा เค…เคฌ เคฆूเคฐ เคœा เคšुเค•ा เคฅा, เคฌเคนुเคค เคฆूเคฐ ……….।

เค…เค—เคฒी เคฌाเคฐ เค•ोเคˆ เค†เคชเค•ो เค…เคชเคจी เคธเคฎเคธ्เคฏा เคฌเคคाเคฏेे เค”เคฐ เค†เคช เค•ो เคฒเค—े เค•ि เคฏे เคฎेเคฐी เคธเคฎเคธ्เคฏा เคจเคนीं เคนै, เคคो เคฐुเค•िเค เค”เคฐ เคฆुเคฌाเคฐा เคธोเคšिเคฏे।

เคธเคฎाเคœ เค•ा เคเค• เค…ंเค—, เคเค• เคคเคฌเค•ा, เคเค• เคจाเค—เคฐिเค• เค–เคคเคฐे เคฎें เคนै เคคो เคชूเคฐा เคฆेเคถ เค–เคคเคฐे เคฎें เคนै।

เค…เคชเคจे-เค…เคชเคจे เคฆाเคฏเคฐे เคธे เคฌाเคนเคฐ เคจिเค•เคฒिเคฏे। เคธ्เคตเคฏं เคคเค• เคธीเคฎिเคค เคฎเคค เคฐเคนिเคฏे। เคธाเคฎाเคœिเค• เคฌเคจिเคฏे.."

NIRAJ KUMAR



Mobile                         -             +91 8252281522   
Email     - sharma.nirajkumar@ymail.com
Email     - sharma.nirajkumar82@gmail.com

My Educational Qualification

MCA(MASTER OF COMPUTER APPLICATION)
BCA(BACHELOR OF COMPUTER APPLICATION) 
I  have 2yr Experience on JAVA(Netbeans) J2EE(Eclipse) and Web site development on HTML CSS and Java Server Pages (JSP) and Oracle And Mysql