How to configure portable Java development kit (JDK)

Raju Pal

What is JDK? JDK  referred as Java Development Kit  is used to develop various types of application in JAVA. Portable JDK? Portable means the code which can run anywhere you want.  The portable JDK is also similar to that as we use JDK without actually installing it on our system. Check out the following video in Hindi language which explains …

Increment and decrement operators in C

Raju Pal

Increment and decrement operators are unary operator i.e. these operators requires on one operands to perform its operations. The detail demonstration would be provided following videos.    

How to debug a C program in code blocks ?

Raju Pal

Code blocks is a popular IDE to compile and run programs developed in various languages. It has also been used for C and C++ languages. We generally develop console based application in these languages. Debugging is a process of finding and fixing some error and bugs in a given program. We can also use debugging tool to analyze our code …

POD-04-OCT-2016

Raju Pal

Write a program to toggle every character of a given string. For example Input:   Hello, ThiS is for YOUr heLP. Output: hELLO, tHIs IS FOR youR HElp.

POD-02-OCT-2016

Raju Pal

Write a program to convert a given string into sentence case. Ex: Input: 1. Hello, let’s Know about the Sentence case like In MS-WORD. 2. learning by doing. what you say ! Output: 1. Hello, lets know the sentence case like in ms-word. 2. Learning by doing. What you say !

Java Basics – 1

Raju Pal

Q1. Why Java classes does not support multiple inheritance? Ans-:   In java child class can not have two or more parent classes. This makes this language simple, easy to use and less complex. However, a class can implement multiple interfaces with the condition that class must override the behavior of interfaces according to its context. James gosling provide this option …

What is the computer language?

Avinash Pandey

A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Over the years computer languages have evolved from machine language to natural languages.   The only language which is understood by computer hardware is machine language (consisting of binary or hexadecimal instructions). Symbolic language uses symbols, or mnemonics, to …

Packages in Java

Raju Pal

In Java, packages are the collection of similar type of classes, interfaces, enumeration and annotation types. These are organized in a well defined manner for ease of use. Packages are similar to header files in C/C++. The main objectives of having a package type structure in Java are as follows: Code reuse Organize classes and interface and prevent from name …

What is placement new operator in C++ ?

Raju Pal

Placement new operator is used to allocate a memory which is already acquired by some object. This operator generally used when we require any object to be re-constructed multiple times. Without placement new operator it will be allocated to different memory location while reconstructed. Hence we use placement new to utilize the memory which is allocated to it earlier. A simple …