Core Java Question:
Download Questions PDF

Explain about Java assignment statement?

Core Java Interview Question
Core Java Interview Question

Answer:

After declaring a variable, it should be initialized explicitly. Uninitialized variable can never be used. To a declared variable you must assign a variable name on the left, equal sign and a java expression should have a appropriate value to the right.

Download Core Java Interview Questions And Answers PDF

Previous QuestionNext Question
Explain about Java data types?Give the difference between the println method and sqrt method?