The java.io package contains nearly every class you might ever need to perform input and output (I/O) in Java. All…
Read More

The java.io package contains nearly every class you might ever need to perform input and output (I/O) in Java. All…
Read More
A Java method is a collection of statements that are grouped together to perform an operation. When you call the…
Read More
Java provides the java.util.regex package for pattern matching with regular expressions. Java regular expressions are very similar to the Perl…
Read More
Java provides the Date class available in java.util package, this class encapsulates the current date and time. The Date class…
Read More
Java provides a data structure, the array, which stores a fixed-size sequential collection of elements of the same type. An…
Read More
Strings, which are widely used in Java programming, are a sequence of characters. In Java programming language, strings are treated…
Read More
Normally, when we work with characters, we use primitive data types char. Example char ch = 'a'; // Unicode for…
Read More
Normally, when we work with Numbers, we use primitive data types such as byte, int, long, double, etc. Example int…
Read More
Decision making structures have one or more conditions to be evaluated or tested by the program, along with a statement…
Read More
There may be a situation when you need to execute a block of code several number of times. In general,…
Read More
A constructor initializes an object when it is created. It has the same name as its class and is syntactically…
Read More
HEADER FILE class Fractie { public: int numarator,numitor; public: Fractie(int numarator=0,int numitor=1); Fractie Suma(Fractie,Fractie); Fractie Diferenta(Fractie, Fractie); Fractie Produs(Fractie, Fractie);…
Read More
EURO INFORMATICA & EURO ELECTRONICA Evenimentul este finanțat cu ajutorul inițiativei Meet and Code (https://www.meet-and-code.org/) susținută la nivel european de…
Read More
The main purpose of Objective-C programming language is to add object orientation to the C programming language and classes are…
Read More
It is possible to pass some values from the command line to your Objective-C programs when they are executed. These…
Read More
In Objective-C programming, error handling is provided with NSError class available in Foundation framework. An NSError object encapsulates richer and…
Read More
NSLog method In order to print logs, we use the NSLog method in Objective-C programming language which we have used…
Read More
Type casting is a way to convert a variable from one data type to another data type. For example, if…
Read More
The Objective-C programming language provides a keyword called typedef, which you can use to give a type a new name.…
Read More
The Objective-C Preprocessor is not part of the compiler, but is a separate step in the compilation process. In simplistic…
Read More
Objective-C arrays allow you to define type of variables that can hold several data items of the same kind but…
Read More
The string in Objective-C programming language is represented using NSString and its subclass NSMutableString provides several ways for creating string…
Read More
Pointers in Objective-C are easy and fun to learn. Some Objective-C programming tasks are performed more easily with pointers, and…
Read More
Objective-C programming language provides a data structure called the array, which can store a fixed-size sequential collection of elements of…
Read More
In Objective-C programming language, in order to save the basic data types like int, float, bool in object form, Objective-C…
Read More
An Objective-C class defines an object that combines data with related behavior. Sometimes, it makes sense just to represent a…
Read More
A function is a group of statements that together perform a task. Every Objective-C program has one C function, which…
Read More
Decision making structures require that the programmer specify one or more conditions to be evaluated or tested by the program,…
Read More
There may be a situation, when you need to execute a block of code several number of times. In general,…
Read More
An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. Objective-C language is rich…
Read More
The constants refer to fixed values that the program may not alter during its execution. These fixed values are also…
Read More
EURO INFORMATICA & EURO ELECTRONICA Evenimentul este finanțat cu ajutorul inițiativei Meet and Code (https://www.meet-and-code.org/) susținută la nivel european de…
Read More
Graham’s scan is a method of finding the convex hull of a finite set of points in the plane with…
Read More
Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and characterized by the fact that…
Read More
To determine connected components we use the method of access depth of a graph. Algorithm steps are: -P1: Is seeking…
Read More
JavaScript comments can be used to make the code more readable. JavaScript Comments Comments will not be executed by JavaScript.…
Read More
What You Should Already Know Before you continue you should have a basic understanding of the following: HTML / XHTML…
Read More
Modifiers are keywords that you add to those definitions to change their meanings. Java language has a wide variety of…
Read More
#include<stdio.h> #include<conio.h> int a,i,j,k,n,l; void main() { printf("Gradul polinomului<20:");scanf("%d",&n); for(i=0;i<=n;i=i+1) { printf("a(%d)=",i);scanf("%d",&a); } printf("Se deriveaza de :");scanf("%d",&k); for(j=0;j<k;j++) { a=0;…
Read More
In mathematics, the Euclidean algorithm, or Euclid’s algorithm, is an efficient method for computing the greatest common divisor (GCD) of…
Read More
Queue is an abstract data structure, somewhat similar to Stacks. Unlike stacks, a queue is open at both its ends.…
Read More
Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve…
Read More
Java is an Object-Oriented Language. As a language that has the Object-Oriented feature, Java supports the following fundamental concepts −…
Read More
We will use the term to mean that a painting long = length the longest substring starting position ascending i.If…
Read More
#include <stdio.h> #include <stdlib.h> #include <conio.h> static char digit_hexa = "0123456789ABCDEF"; static char digit_decimal = "0123456789"; static char digit_octa =…
Read More
Check equality of two strings #include <stdio.h> #include <string.h> #define TRUE 1 #define FALSE 0 #define MAX 100 int egal(char*…
Read More
A variable it’s a data type and can be composed by letters, numbers and underscore character. Type: char: 1 byte(octet)…
Read More
In objective-c data types are: basic types; enumerated types; type void; derived types; Integer types: char: 1 byte (-128 to…
Read More
You can use X-Code to write your first program ‘Hello World!’: // First program example #import <Foundation/Foundation.h> int main (int…
Read More
Quicksort (sometimes called partition-exchange sort) is an efficient sorting algorithm, serving as a systematic method for placing the elements of…
Read More