Java

Java is a simple, secured, high level, platform-independent, multithread, Object-oriented programming language.

 

It’s one of the most popular and widely used programming language, platform, and technology. Java is not only a language it is also a platform and technology.

 

Related Pages:-

Java Identifier MCQ

Java Identifier MCQ | Find valid Java Identifier | Recommended reading:- Identifiers in Java Q1) Java identifiers should not start with? a) UpperCase Characterb) LowerCase Characterc) Digitd) Underscore View Answer Answer:- c) Digit Q2) Java identifiers can’t contain? a) _b) @c) $d) All of these View Answer Answer:- b) @ Q3) Which of the following […]

Java Identifier MCQ Read More »

Java Hashcode Quiz

Java Hashcode Quiz | Hashcode is an identity of an object. In Java, for every object, a unique number is generated by the JVM and it is nothing but a hashcode. It is a 32-bit unique integer number and is used to differentiate one object from another object and also used for differentiating one group of objects

Java Hashcode Quiz Read More »

Math.sqrt() Method In Java

Math.sqrt() Method In Java | The sqrt() method of java.lang.Math class is given to calculate the square root value of a given number. It returns the correctly rounded positive square root of a double value. The prototype of java.lang.Math.sqrt() method is:-public static double sqrt(double a) Argument type:- doubleArgument:- a numberReturn type:- doubleReturn value:- positive square

Math.sqrt() Method In Java Read More »

Find Valid Java Keywords MCQ

Q1) Which is a valid keyword in Java? a) newb) deletec) bothd) None of these View Answer Answer:- a) new In Java, we have a “new” keyword to create objects but the “delete” keyword is not there. Because the destruction of the object is the responsibility of garbage collectors, not of programmers. Q2) Which is

Find Valid Java Keywords MCQ Read More »

Tokens in Java

Java tokens | In Java, tokens are the smallest unit in a program that can’t be divided further. Except for comments and white space, anything we write in the Java program will be treated as a token. Java supports five different tokens, Identifiers Keywords Literals Operators Special Symbols Every word or symbol written in the

Tokens in Java Read More »

Printstream class in Java

Printstream class in Java is a sub-class of FilterOutputStream class and it is used to write data as it is in the given format. It means, unlike FileOutputStream class, PrintStream class writes 97 as 97 rather than one byte. It is the most convenient class in writing binary data to another output stream. In addition

Printstream class in Java Read More »