ASCII codes for characters and numbers in C++

ASCII means American Standard Code for Information Interchange(a character encoding scheme means uppercase letters(A-Z), lowercase letters(a-z), special symbols($,&,#,@).

New and Delete operator in C++

In C++, the new operator is used to allocate the memory from free store and delete operator is used to return the previously allocated memory back to the free store.

Draw Oval in Applet

drawOval() is the method of a Graphics class.To draw a oval we use drawOval(int xaxis,int yaxis,int widthh, int heightt) method.

LinkedHashSet in Java

LinkedHashSet is maintains the insertion(insert the elements) order in Linked List.Elements get Sorted in the sequence order.

Add or Remove an item in a JComboBox

In JCombobox the selected text is displayed in the text field.The Swing JCombo will automatically add scroll bar.  combo_b.removeItemAt(0) is used to remove elements (specified item) from the list.

Converting an int to a binary in Java


By using Integer.toBinaryString() we can convert integer string into binary value.This is the best way to convert integer to a binary string in Java.


Java StringBuffer Reverse Example


The sequence of character contained in the string buffer is replaced by the reverse method(reverse()).String Buffer class is a mutable class means can be changed dynamically.

StreamTokenizer in Java

Stream Tokenizer takes an input stream(any String with seperator) and parses it into tokens, allowing the tokens to be read once at a time. 


Java Graphics in Applet

Graphics operations can be performed using java.awt package that contains various classes and methods for creating graphics and images.The paint() takes graphic object as an argument and provides reference to graphics drawing methods(setColor(),drawstring()).

If Else Statement in C++

The general form of an if statement which includes the else(if…..else) clause is:

Page 5 of 29

About Us

Rekha SetiaRekha Setia is a passionate blogger of Extra Computer Notes. if you have any ideas or any request me @