Follow and like us on our Facebook page where we post on the new release subject and answering tips and tricks to help save your time so that you can never feel stuck again.
Shortcut

Ctrl + F is the shortcut in your browser or operating system that allows you to find words or questions quickly.

Ctrl + Tab to move to the next tab to the right and Ctrl + Shift + Tab to move to the next tab to the left.

On a phone or tablet, tap the menu icon in the upper-right corner of the window; Select "Find in Page" to search a question.

Share Us

Sharing is Caring

It's the biggest motivation to help us to make the site better by sharing this to your friends or classmates.

Object Oriented Programming Laboratory

A platform for developers to learn and practice programming concepts and techniques using object-oriented programming languages like Java, C++, and Python.

java

python

c++

c#

object-oriented design

inheritance

polymorphism

encapsulation

abstraction

class

object

method

constructor

destructor

overloading

overriding

information technology

computer science

Used to layout the GUI java components inside a container.

  • Java GridBagLayout
  • Java Layout Manager
  • Java FlowLayout
  • Java BorderLayout

When a group of processes or threads is waiting for an action that only one of them can do, it is said to be deadlocked.

  • True
  • False

The J2SE 5.0 was released on

  • September 2002
  • February 2000
  • February 2002
  • September 2004

A thread is a facility that allows single action to be performed simultaneously in a single process.

  • True
  • False

Extending the Thread class will give your class more functionality. Because of JAVA's single inheritance feature, you can extend other classes.

  • True
  • False

Part of the Java Runtime Environment(JRE) which is used to load Java classes into the Java Virtual Machine dynamically.

  • JVM
  • Classloader
  • Security Manager
  • Bytecode Verifier

A set of processes or threads is said to be deadlocked when each is waiting for an action that only one of the others can perform.

  • True
  • False

Places components in up to five areas: top, bottom, left, right, and center. It is the default layout manager for every java JFrame.

  • Java GridBagLayout
  • Java FlowLayout
  • Java Layout Manager
  • Java BorderLayout

Java is a write once, runObject Oriented Programming anywhere language.

  • Portable
  • Object-Oriented
  • Platform Independent
  • Simple

Allows developers to create Java programs that can be executed and run by the JVM and JRE.

  • JVM
  • JDK
  • JRE
  • J2SE

Proper co-ordination is required between threads accessing common variables.

  • Multiprocessor systems
  • Risk factor
  • Java threads
  • GUI applications

Java is an Object-Oriented programming language developed by ______________ in the early 1990s

  • Guido Van Rossum
  • James Gosling
  • Dennis Ritchie
  • Bjarne Stroustrup

It is a lightweight Graphical User Interface (GUI) toolkit that includes a rich set of widgets. It includes package lets you make GUI components for your Java applications, and It is platform independent.

  • Java swing
  • Java AWT
  • Java package
  • Java library

The thread ends when it comes when the run() method finishes its execution.

  • True
  • False

We use thread to perform asynchronous or background processing

  • True
  • False

It checks the code fragments for illegal code that can violate access right to objects.

  • Classloader
  • Bytecode Verifier
  • Security Manager
  • JVM

It is a Java platform component that executes programs.

  • J2SE
  • JVM
  • JRE
  • JDK

The JDK 1.0 was released on

  • January 1996
  • February 1996
  • January 1997
  • February 1997

It is a pure container and is not a window in itself. The sole purpose of a it is to organize the components on to a window.

  • Container classes
  • Frame
  • Panel
  • Dialog

The JAVA SE 12 was released on

  • September 2018
  • March 2019
  • March 2018
  • September 2019

Shorten the blocks. Synchronized blocks should be as brief as possible while maintaining the integrity of linked data activities.

  • True
  • False

It is the default layout manager for every JPanel. It simply lays out components in a single row one after the other.

  • Java FlowLayout
  • Java Layout Manager
  • Java BorderLayout
  • Java GridBagLayout

Feature of java that is very easy to learn, and its syntax is simple, clean and easy to understand.

  • Simple
  • Portable
  • Platform Independent
  • Object-Oriented

It can be thought of like a pop-up window that pops out when a message has to be displayed. It is not a fully functioning window like the Frame.

  • Dialog
  • Frame
  • Container classes
  • Panel

Classes that can have other components on it.

  • Container classes
  • Dialog
  • Frame
  • Panel

The name Java originates from a sort of ____________

  • Mocha Bean
  • Expresso Bean
  • Latte Bean
  • Cappuccino Bean

Feature of java that means, organizing our software as a combination of different types of objects that incorporates both data and behavior.

  • Portable
  • Object-Oriented
  • Simple
  • Platform Independent

In order to avoid deadlock, make sure that you acquire multiple locks in the same order across all threads.

  • True
  • False

It is a fully functioning window with its title and icons.

  • Container classes
  • Frame
  • Dialog
  • Panel

It is the on-disk part of Java that creates the JVM.

  • JDK
  • JRE
  • J2SE
  • JVM

A try-finally block is not possible without catch block.

  • False
  • True

is built on top of the Java Abstract Widget Toolkit (AWT), an older, platform dependent GUI toolkit.

  • Java package
  • Java library
  • Java swing
  • Java AWT

If you just want to achieve basic functionality of a thread you can simply implement Runnable interface and override run() method.

  • False
  • True

It is the more sophisticated of all layouts. It aligns components by placing them within a grid of cells, allowing components to span more than one cell.

  • Java FlowLayout
  • Java GridBagLayout
  • Java Layout Manager
  • Java BorderLayout

Overuse of java threads can be hazardous to programs performance and its ...

  • False
  • True

There is no probability of deadlock when many processes compete for exclusive access to multiple locks.

  • True
  • False

The J2SE 1.2 was released on

  • May 1998
  • May 2000
  • December 2000
  • December 1998

It facilitates you to carry the Java bytecode to any platform.

  • Object-Oriented
  • Portable
  • Simple
  • Platform Independent

While having a lock, call methods on other objects This may appear drastic, yet it eliminates the most prevalent cause of gridlock.

  • True
  • False

The facilities and API for Java threads are deceptively simple: every Java application creates at least one thread [main() thread].

  • True
  • False

When a thread is invoked, there will be one path of execution.

  • False
  • True

The J2SE 1.3 was released on

  • May 1998
  • May 2000
  • December 1998
  • December 2000

The J2SE 1.4 was released on

  • September 2002
  • February 2002
  • September 2004
  • February 2000

When the run() method completes its execution, the thread comes to an end.

  • True
  • False

A popular general-purpose programming language and computing platform. It is fast, reliable, and secure.

  • Java
  • C#
  • Php
  • C++

It determines what resources a class can access such as reading and writing to the local disk.

  • Security Manager
  • Classloader
  • Bytecode Verifier
  • JVM

Whenever there is multiple processes contending for exclusive access to multiple locks, there is the possibility of deadlock.

  • True
  • False

A thread is a series of method calls that are nested.

  • True
  • False

The JDK 1.1 was released on

  • February 1996
  • January 1996
  • January 1997
  • February 1997
Comments
Paypal Donation

To keep up this site, we need your assistance. A little gift will help us alot.

Donate

- The more you give the more you receive.

Related Subject

Web Systems Technologies

Data Structures and Algorithms

Programming Logic and Design

Computer Programming 2

Sociology

Mobile Programming

Network Security

Management Information Systems

Managing Information and Technology

Mobile Application Design and Development

Mobile Application Design and Development 2

Living in the Information Technology Era

Mail and Web Services

Information Technology Practicum

Information Technology Capstone Project

Introduction to Computing

Intro to Hardware Description Language

Introduction to Human Computer

Introduction to Information Systems

Introduction to Multimedia

Integrative Programming and Technology 2

Internet Marketing and Entrepreneurship

Internet Technology in Real Estate

Information Assurance and Security 2

Information Assurance and Security 3

Information Security and Management

Information Systems Operations and Maintenance

Fundamentals of Investigation and Intelligence

Fundamentals of Database System

Digital Imaging

Data Communications and Networking

Cyber Security: Theories and Practice

Data Communications and Networking 2

Database Management System

Chemistry for Engineers

Computer Fundamentals

Animation Project

Load Testing

3D Game Art Development

Auditing and Assurance Concepts and Applications

Integrative Programming and Technology

Linux Administration

Software Engineering

Computer Programming

Applied Business Tools and Technologies

System Administration and Maintenance

Current Trends and Issues

Data Communications and Networking 4

Principles of Operating System and its Application

Systems Integration and Architecture

Application Lifecycle Management

Data Communications and Networking 3

Information Assurance and Security


Show All Subject
Affiliate Links

Shopee Helmet

Shopee 3D Floor

Lazada Smart TV Box