1 Differentiate between true and "true" in java 2.what is the use of semi-Colon(;) and comma(,)? 3.write the Syntax to declare a variable 4differentiate between ".Java" file and ".class" file
Attachments:
Answers
Answered by
1
TRUE is a reference to an object of the class Boolean, while true is just a value of the primitive boolean type. Classes like Boolean are often called "wrapper classes", and are used when you need an object instead of a primitive type (for example, if you're storing it in a data structure).
semi colon stops for long time but comma for short time
There are several ways to declare variables: ... dataType variableName; This declares a variable, declares its data type, and reserves memory for it.
java file contains your Java source code while a . class file contains the Java bytecode produced by the Java compiler. It is your . class files that run on the JVM to execute a Java application.
mark as brainliest answer
Answered by
0
Answer:
True means correct and false means incorrect
Explanation:
True means someone has done something right, false means someone has done something wrong
please mark me as brainliest
Similar questions