Hey Guys welcome to CES Study247
This page provide you Digital Electronics Multiple Choice Question Answer that is very useful for Semester , DRDO, ISRO ,Banking , Railway, Gate and another exam.
Q.1 Who is the Father of JAVA?
Dennis Ritchie
James Gosling
Bjarne Stroustrup
None of these
Explanation
James Gosling is known as the father of Java, having developed the language at Sun Microsystems in the early 1990s.
Q.2 JAVA is defined as a ________?
Secure programming language
Fast programming language
Powerful programming language
All of the above
Explanation
Java is designed to be a high-level, robust, secure, and object-oriented programming language suitable for many applications.
Q.3 What was the name of Java before it was renamed?
JAVA
Oak
SIMULA
None of these
Explanation
Java was originally named ‘Oak’ by James Gosling, named after an oak tree that stood outside his office.
Q.4 What was Java first called by James Gosling during its initial development?
Green Talk
Oak
SIMULA
None of these
Explanation
The first name for the project was ‘Green Talk’, developed by the Green Team led by James Gosling.
Q.5 What was the file extension used for the 'Green Talk' project?
.java
.gt
.oak
None of these
Explanation
Files associated with the initial Green Talk phase of development used the .gt file extension.
Q.6 In which year was the 'Oak' language officially renamed to 'Java'?
1987
1994
1991
None of these
Explanation
The language was renamed from Oak to Java in 1994 following a trademark search.
Q.7 What is the standard file extension for Java source code files?
.gt
.java
.oak
None of these
Explanation
Java programs are written in plain text files with a .java extension.
Q.8 In which year was the Java programming language officially developed/released?
1972
1995
1987
None of these
Explanation
Java was officially released to the public by Sun Microsystems in 1995.
Q.9 Sun Microsystems released its first public implementation in 1996 as?
JDK 1.0
JDK 1.1
JDK 1.5
None of these
Explanation
The first stable public release of the Java Development Kit was JDK 1.0 in 1996.
Q.10 What are considered the four 'pillars' of Object-Oriented Programming in Java?
Abstraction
Polymorphism
Inheritance & Encapsulation
All of the above
Explanation
Java is built on four fundamental concepts: Abstraction, Encapsulation, Inheritance, and Polymorphism.
Q.11 Java was originally developed by which company?
Sun Microsystems
Oracle
Microsoft
None of these
Explanation
Java was created at Sun Microsystems by James Gosling and his team.
Q.12 Which of the following are distinct 'flavors' or editions of Java?
J2SE (Standard Edition)
J2EE (Enterprise Edition)
J2ME (Micro Edition)
All of the above
Explanation
Java has different platforms for different needs: Standard Edition, Enterprise Edition, and Micro Edition for mobile devices.
Q.13 Which company owns the Java product currently?
Sun Microsystems
Microsoft
Oracle
None of these
Explanation
Oracle Corporation acquired Sun Microsystems in 2010 and is now the primary maintainer of Java.
Q.14 What were the very first versions of Java released for testing?
JDK 1.0
JDK 1.5
JDK Alpha & Beta
None of these
Explanation
Before the stable 1.0 release, Java was initially made available in Alpha and Beta versions.
Q.15 What is the command used to compile a Java program?
javac filename.java
java filename.java
compile filename.java
None of these
Explanation
The ‘javac’ (Java Compiler) command is used to transform .java source code into .class bytecode.
Q.16 What is the command used to execute (run) a compiled Java class?
javac class_name
javac class_name.java
java class_name
None of these
Explanation
The ‘java’ command is used to launch the Java Virtual Machine and run the specified class.
Q.17 In the context of Java development, what does JDK stand for?
JAVA Design Kit
JAVA Developer Kit
JAVA Development Kit
None of these
Explanation
JDK stands for Java Development Kit, which contains the tools necessary for developing Java applications.
Q.18 In the context of Java, what does JRE (or JRC in some contexts) stand for?
JAVA Running Environment
JAVA Runtime Environment
JAVA Run Execution
None of these
Explanation
JRE stands for Java Runtime Environment, which provides the libraries and JVM needed to run Java programs.
Q.19 What does the acronym JVM stand for?
JAVA Virtual Machine
JAVA Virtual Memory
JAVA Virtual Moment
None of these
Explanation
The JVM (Java Virtual Machine) is the engine that provides the runtime environment to drive the Java code.
Q.20 Which of the following is NOT a standard application type for Java?
Desktop Applications
Mobile Apps
Web Applications
Physical Building construction
Explanation
Java is widely used for software development (Desktop, Mobile, Web), but ‘Building’ is a physical activity unrelated to the software’s application.