Smart Content Search

Find the exact content you need

Search across courses, articles, programs, MCQs, and descriptive questions from your knowledge platform in one clean workspace.

2155

Results Found

107

Current Page

108

Total Pages

Showing 2155 result(s) for your search.

java
Question Result 2121

What media types are commonly used in RESTful APIs?

Continuous Integration Integration Technologies RESTful API (Representational State Transfer API)
The two most commonly used media types in RESTful APIs are: application/JSON (JavaScript Object Notation) application/XML (Extensible Markup Language)
View Details
/question/8442
Question Result 2123

What skills or knowledge do I need to learn the javascript?

JavaScript Fundamentals of Javascript About Javascript Tutorial
What skills or knowledge do I need to learn the JavaScript? To learn JavaScript, it is recommended to have a basic understanding of computer programming concepts such as variables, data types, functions, and control flow. Additionally, some basic understanding...
View Details
/question/1047
Question Result 2124

What type of error will occur in the following Java program, and how can it be fixed? public class Example { public static void main(String[] args) { System.out.println("Hello, World!") } }

Java Fundamentals: Building Strong Foundations Common Errors in Program Syntax Error in Java Programming language
Explanation: The program will not compile because there is a missing semicolon (;) at the end of the System.out.println("Hello, World!") statement. In Java, every statement must end with a semicolon. Fixed Code: public class Example { public static void main(S...
View Details
/question/8395
Question Result 2125

When should calculated and rollup columns be used?

MB-700: Microsoft Dynamics 365: Finance and Operations Apps Solution Architect Use Success by Design for Dynamics 365 solutions Design data models for Dynamics 365 solutions
Calculated columns reduce JavaScript and plugin usage but only update on retrieval. Rollup columns avoid synchronous plugins and improve performance but update every 12 hours by default. Use plugins only when real-time updates are mandatory.
View Details
/question/9801
Question Result 2126

When would C NOT be the best choice?

C Programming Language for Problem Solving Introduction to C Programming Language Why Use C
When the project requires rapid development, built-in memory safety, or complex UI—languages like Python, Java, or Kotlin may be better.
View Details
/question/8886
Question Result 2128

Which of the following Java programs will result in a runtime error, and why? public class RuntimeErrorExample { public static void main(String[] args) { int a = 10; int b = 0; int result = a / b; System.out.println("Result: " + result); } }

Java Fundamentals: Building Strong Foundations Common Errors in Program Runtime error in Java Programming language
This program will compile successfully but will crash at runtime due to division by zero (10 / 0), causing an ArithmeticException. Fixed Code (Using Exception Handling): public class RuntimeErrorExample { public static void main(String[] args) { int a = 10; in...
View Details
/question/8396
Question Result 2131

Why are data types important?

Java Fundamentals: Building Strong Foundations DataTypes in java Introduction to Data type Java
Data types are important because they ensure that only valid operations are performed on data. Java follows strong type checking, which means: Every variable must have a defined type Only allowed operations are performed on that type Invalid operations are not...
View Details
/question/10584
Question Result 2132

Why are functions used in Java?

Java Fundamentals: Building Strong Foundations Functions / Methods Functions / Methods in Programming Languages (What is a Function?)
Functions are used to: Reduce code duplication Improve readability Make code reusable Simplify debugging and maintenance
View Details
/question/10325
Question Result 2134

Why does Java use Unicode?

Java Fundamentals: Building Strong Foundations DataTypes in java Unicode System in Java
Earlier, ASCII could represent only 256 characters, which was not enough for all languages. Java uses Unicode because: It supports characters from almost all languages It is suitable for worldwide applications It ensures better internationalization 👉 Therefore...
View Details
/question/10585
Question Result 2136

Why is Java Architectural Neutral?

Java Programming Language Java Programming Language Java Features
Java is considered to be architecturally neutral because it was designed to be platform-independent. This means that Java code can be compiled on one platform and executed on another platform without modification. Java achieves platform-independence by using a...
View Details
/question/55
Question Result 2137

Why is Java called an object-oriented programming language?

Java Programming Language Class, Object and Methods in java Class and Object Concept in Java
Start writing hJava is called an object-oriented programming language because programming in Java is based on the use of objects and classes, which are the basic building blocks of object-oriented programs.ere...
View Details
/question/10569
Question Result 2138

Why Linked List Was Introduced in Data Structure

Complete Data Structures Mastery Course: Beginner to Advanced with Real-World Examples Linked List Linked List Introduction
Data structures are an important part of computer science because they help organize, store, and manage data efficiently. Among the many data structures available, the Linked List is one of the most important dynamic data structures used in programming. A link...
View Details
/question/11097
Question Result 2139

Write a difference between class and a object

Java Programming Language Decision Making in java switch case in Java
Here’s a concise table comparing class and object in Java: Aspect Class Object Definition A blueprint or template for creating objects. An instance of a class. Purpose Defines properties (fields) and behaviors (methods). Represents a specific entity with data ...
View Details
/question/8215
Question Result 2140

Write a difference between the functions isUpperCase( ) and toUpperCase( ).

Java Programming Language ICSE Computer Application - Class - X ICSE Computer Application - Class X - 2018 PYQ
isUpperCase( ) toUpperCase( ) isUpperCase( ) function checks if a given character is in uppercase or not. toUpperCase( ) function converts a given character to uppercase. Its return type is boolean. Its return type is char. Here’s the difference between the is...
View Details
/question/8135